XDropDown extension
The list of items the user can select.
If the onChanged
callback is null or the list of items is null
then the dropdown button will be disabled, i.e. its arrow will be
displayed in grey and it will not respond to input. A disabled button
will display the disabledHint
widget if it is non-null. If
disabledHint
is also null but hint
is non-null, hint
will instead
be displayed.
- on
Methods
-
xDropDown(
{dynamic value, Widget hint, Widget disabledHint, ValueChanged onChanged, DropdownButtonBuilder selectedItemBuilder, int elevation, TextStyle style, Widget underline, Widget icon, Color iconDisabledColor, Color iconEnabledColor, double iconSize = 24.0, bool isDense = false, bool isExpanded = false, double itemHeight = kMinInteractiveDimension, Color focusColor, FocusNode focusNode, bool autofocus = false, Key key}) → Widget