Results for “DropdownButton”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
API reference
- DropdownButtonclass
Material Design button for selecting from a list of items. material.DropdownButton DropdownButton Dropdown Button class material
- DropdownButtonFormFieldclass
FormField that contains a DropdownButton. material.DropdownButtonFormField DropdownButtonFormField Dropdown Button Form Field class material
- DropdownButtonHideUnderlineclass
causes any descendant DropdownButton widgets to not include their regular underline. material.DropdownButtonHideUnderline DropdownButtonHideUnderline Dropdown Button Hide Underline class material
- DropdownButtonFormField.newconstructor
DropdownButton widget that is a FormField, wrapped in an InputDecorator. material.DropdownButtonFormField.DropdownButtonFormField.new DropdownButtonFormField new Dropdown Button Form Field.new constructor material
- DropdownButtonHideUnderline.newconstructor
Creates a DropdownButtonHideUnderline. A non-null child must be given. material.DropdownButtonHideUnderline.DropdownButtonHideUnderline.new DropdownButtonHideUnderline new Dropdown Button Hide Underline.new constructor material
- DropdownButton.newconstructor
Creates a dropdown button. material.DropdownButton.DropdownButton.new DropdownButton new Dropdown Button.new constructor material
- DropdownMenuItemclass
item in a menu created by a DropdownButton. material.DropdownMenuItem DropdownMenuItem Dropdown Menu Item class material
- material.DropdownButtonBuildertypedef
builder to customize dropdown buttons. material.DropdownButtonBuilder DropdownButtonBuilder Dropdown Button Builder typedef material
Version changes
- Deprecate DropdownButtonFormField value parameter in favor of initialValue3.35.0deprecated
value` parameter of the `DropdownButtonFormField` constructor was deprecated in favor of the `initialValue` parameter. The `value` parameter of the `DropdownButtonFormField` constructor is deprecated in favor of the parameter
- Added enabled property and made onChanged optional for DropdownButtonunreleasedbreaking
DropdownButton` and `DropdownButtonFormField` now include an `enabled` property to explicitly manage their interactive state, and the `onChanged` callback is no longer marked as `required`. If you previously
- - DropdownButtonFormField is not re-rendered after value is changed programmatically1.17.2bugfix
DropdownButtonFormField is not re-rendered after value is changed programmatically
- Fix DropdownButtonFormField does not inherit local InputDecorationTheme3.41.0bugfix
DropdownButtonFormField does not inherit local InputDecorationTheme (Material, by @bleroux). DropdownButtonFormField InputDecorationTheme
- Make sure that a DropdownButton doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a DropdownButton doesn't crash in 0x0 environment (Material, by @ahmedsameha1). DropdownButton
- Make sure that a DropdownButtonFormField doesn't crash in 0x0 environ…3.41.0bugfix
Make sure that a DropdownButtonFormField doesn't crash in 0x0 environ… (Material, by @ahmedsameha1). DropdownButtonFormField
- Fix Semantics expanded state not updating in PopupMenuButton and DropdownButton3.44.0bugfix
Semantics expanded state not updating in PopupMenuButton and DropdownButton (Material, by @AhmedLSayed9). PopupMenuButton DropdownButton
- Deprecated API removed after v2.52.10.0removed
after the 2.5 stable release have been removed. Form AutovalidateMode.always AutovalidateMode.disabled AutovalidateMode.onUserInteraction FormField DropdownButtonFormField TextFormField AutovalidateMode FloatingHeaderSnapConfiguration.vsync TickerProvider FloatingHeaderSnapConfiguration SliverPersistentHeaderDelegate.vsync SliverPersistentHeaderDelegate AndroidViewController TextureAndroidViewController SurfaceAndroidViewController BlacklistingTextInputFormatter WhitelistingTextInputFormatter WhitelistingTextInoutFormatter FilteringTextInputFormatter
- Migrating to Material 33.16.0breaking
The Material library has been updated to match the Material 3 Design