Skip to content

DropdownMenu only accepts EdgeInsets instead of EdgeInsetsGeometry #151769

@TytaniumDev

Description

@TytaniumDev

Steps to reproduce

  1. Create a DropdownMenu widget and try to add EdgeInsetsDirectional to its expandedInsets field.

Expected results

expandedInsets accepts EdgeInsetsDirectional

Actual results

expandedInsets does not accept EdgeInsetsDirectional

Code sample

Code sample
DropdownMenu<String>(
              expandedInsets: EdgeInsetsDirectional.only(start: 10, end: 8),
              dropdownMenuEntries: [],
            )

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Redacted

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listf: material designflutter/packages/flutter/material repository.found in release: 3.22Found to occur in 3.22found in release: 3.24Found to occur in 3.24frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages teamwaiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions