Results for “DropdownMenu”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- DropdownMenuclass
from a TextField. The selected menu item is displayed in that field. material.DropdownMenu DropdownMenu Dropdown Menu class material
- DropdownMenuFormFieldclass
FormField that contains a DropdownMenu. material.DropdownMenuFormField DropdownMenuFormField Dropdown Menu Form Field class material
- DropdownMenuThemeclass
inherited widget that defines the visual properties for DropdownMenus in this widget's subtree. material.DropdownMenuTheme DropdownMenuTheme Dropdown Menu Theme class material
- DropdownMenuThemeDataclass
Overrides the default values of visual properties for descendant DropdownMenu widgets. material.DropdownMenuThemeData DropdownMenuThemeData Dropdown Menu Theme Data class material
- DropdownMenuEntryclass
DropdownMenu menu button that represents one item view in the menu. material.DropdownMenuEntry DropdownMenuEntry Dropdown Menu Entry class material
- DropdownMenuTheme.newconstructor
Creates a DropdownMenuTheme that controls visual parameters for descendant DropdownMenus. material.DropdownMenuTheme.DropdownMenuTheme.new DropdownMenuTheme new Dropdown Menu Theme.new constructor material
- DropdownMenuItemclass
item in a menu created by a DropdownButton. material.DropdownMenuItem DropdownMenuItem Dropdown Menu Item class material
- DropdownMenuThemeData.newconstructor
Creates a DropdownMenuThemeData that can be used to override default properties in a DropdownMenuTheme widget. material.DropdownMenuThemeData.DropdownMenuThemeData.new DropdownMenuThemeData new Dropdown Menu Theme Data.new constructor material
- DropdownMenu.newconstructor
Creates a const DropdownMenu. material.DropdownMenu.DropdownMenu.new DropdownMenu new Dropdown Menu.new constructor material
- DropdownMenuEntry.newconstructor
Creates an entry that is used with DropdownMenu.dropdownMenuEntries. material.DropdownMenuEntry.DropdownMenuEntry.new DropdownMenuEntry new Dropdown Menu Entry.new constructor material
- DropdownMenuFormField.newconstructor
Creates a DropdownMenu widget that is a FormField. material.DropdownMenuFormField.DropdownMenuFormField.new DropdownMenuFormField new Dropdown Menu Form Field.new constructor material
- DropdownMenuItem.newconstructor
Creates an item for a dropdown menu. material.DropdownMenuItem.DropdownMenuItem.new DropdownMenuItem new Dropdown Menu Item.new constructor material
- material.DropdownMenuDecorationBuildertypedef
type of builder function used by DropdownMenu.decorationBuilder to build the InputDecoration passed to the inner text field. material.DropdownMenuDecorationBuilder DropdownMenuDecorationBuilder Dropdown Menu Decoration Builder typedef material
- material.DropdownMenuCloseBehaviorenum
behavior for closing the dropdown menu when an item is selected. material.DropdownMenuCloseBehavior DropdownMenuCloseBehavior Dropdown Menu Close Behavior enum material
Version changes
- Updated default text styles for menus3.16.0breaking
widget used in a `MenuBar`, and in a menu created with `MenuAnchor`), and `DropdownMenuEntry` (in the `DropdownMenu`) is updated from `TextTheme.bodyLarge` to `TextTheme.labelLarge` for Material
- Add DropdownMenuFormField.decorationBuilder3.41.0new-feature
DropdownMenuFormField.decorationBuilder (Material, by @bleroux). DropdownMenuFormField.decorationBuilder
- Add DropdownMenu.selectOnly3.41.0new-feature
DropdownMenu.selectOnly (Material, by @bleroux). DropdownMenu.selectOnly
- Add DropdownMenuFormField.errorBuilder3.41.0new-feature
DropdownMenuFormField.errorBuilder (Material, by @bleroux). DropdownMenuFormField.errorBuilder
- Add DropdownMenu.decorationBuilder3.41.0new-feature
DropdownMenu.decorationBuilder (Material, by @bleroux). DropdownMenu.decorationBuilder
- On all platforms DropdownMenu's menuChildren might be placed somewhere far from menuAnchor.3.27.4bugfix
platforms DropdownMenu's menuChildren might be placed somewhere far from menuAnchor
- Add `menuController` to `DropdownMenu`3.38.0new-feature
menuController` to `DropdownMenu` (Material, by @ValentinVignal). DropdownMenu
- Add scrollPadding property to DropdownMenu3.44.0new-feature
scrollPadding property to DropdownMenu (Material, by @ishaquehassan). DropdownMenu
- Fix DropdownMenu filtering is broken3.41.0bugfix
DropdownMenu filtering is broken (Material, by @bleroux). DropdownMenu
- feat: Add `cursorHeight` to `DropdownMenu`3.38.0new-feature
feat: Add `cursorHeight` to `DropdownMenu` (Material, by @SalehTZ). DropdownMenu
- Fix text input actions in DropdownMenu.3.41.0bugfix
text input actions in DropdownMenu. (Material, by @ksokolovskyi). DropdownMenu
- Fix `onSelect` called twice in `DropdownMenuFormField`3.38.0bugfix
onSelect` called twice in `DropdownMenuFormField` (Material, by @PurplePolyhedron). DropdownMenuFormField
- Fix DropdownMenuEntry.style not resolved when entry is highlighted3.41.0bugfix
DropdownMenuEntry.style not resolved when entry is highlighted (Material, by @bleroux). DropdownMenuEntry.style
- Fix DropdownMenu escape key does not close the menu3.41.0bugfix
DropdownMenu escape key does not close the menu (Material, by @bleroux). DropdownMenu
- Fix DropdownMenu width when decorationBuilder provides label3.41.0bugfix
DropdownMenu width when decorationBuilder provides label (Material, by @bleroux). DropdownMenu
- Fix expanded DropdownMenu panel is shorter than text field3.38.0bugfix
expanded DropdownMenu panel is shorter than text field (Material, by @bleroux). DropdownMenu
- Make sure that a DropdownMenuFormField doesn't crash in 0x0 environment3.38.0bugfix
Make sure that a DropdownMenuFormField doesn't crash in 0x0 environment (Material, by @ahmedsameha1). DropdownMenuFormField
- Make sure that a DropdownMenu doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a DropdownMenu doesn't crash in 0x0 environment (Material, by @ahmedsameha1). DropdownMenu
- Fix DropdownMenuFormField does not clear text field content on reset …3.38.0bugfix
DropdownMenuFormField does not clear text field content on reset … (Material, by @bleroux). DropdownMenuFormField
- feat: Added FocusNode prop for DropdownMenu Trailing Icon Button3.38.0new-feature
feat: Added FocusNode prop for DropdownMenu Trailing Icon Button (Material, by @AlsoShantanuBorkar). FocusNode DropdownMenu
- Fix default minimumSize in dropdownMenu when maximumSize is null3.38.0bugfix
default minimumSize in dropdownMenu when maximumSize is null (Material, by @EdwynZN
- Added enabled property and made onChanged optional for DropdownButtonunreleasedbreaking
false`. Code before migration: ```dart final disabledDropdown = DropdownButton ( value: 'Option 1', items: const [ DropdownMenuItem(value: 'Option 1', child: Text('Option 1')), ], onChanged: null, // This was the only
- Default PrimaryScrollController on Desktop3.3.0breaking
The `PrimaryScrollController` API has been updated to no longer automatically attach to
- Migrating to Material 33.16.0breaking
The Material library has been updated to match the Material 3 Design