MaterialDropdownButtonData<T> class
Constructors
-
MaterialDropdownButtonData({List<
DropdownMenuItem< ? items, List<T> >Widget> selectedItemBuilder(BuildContext context)?, T? value, double? itemHeight, Widget? hint, void onChanged(T? value)?, Widget? disabledHint, VoidCallback? onTap, int? elevation, TextStyle? style, Widget? underline, Widget? icon, Color? iconDisabledColor, Color? iconEnabledColor, double? iconSize, bool? isDense, bool? isExpanded, Color? focusColor, FocusNode? focusNode, bool? autofocus, Color? dropdownColor, })
Properties
- autofocus → bool?
-
final
- disabledHint → Widget?
-
final
- dropdownColor → Color?
-
final
- elevation → int?
-
final
- focusColor → Color?
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → Widget?
-
finalinherited
- icon → Widget?
-
final
- iconDisabledColor → Color?
-
final
- iconEnabledColor → Color?
-
final
- iconSize → double?
-
final
- isDense → bool?
-
final
- isExpanded → bool?
-
final
- itemHeight → double?
-
finalinherited
-
items
→ List<
DropdownMenuItem< ?T> > -
finalinherited
-
final
- onChanged → void Function(T? value)?
-
finalinherited
- onTap → VoidCallback?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedItemBuilder
→ List<
Widget> Function(BuildContext context)? -
finalinherited
- style → TextStyle?
-
final
- underline → Widget?
-
final
- value → T?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited