const
Widget.dropdownButtonFormField(- {Key? key,
- FormStringField? field,
- required List<DropdownMenuItem> items,
- String? value,
- Widget? hint,
- Widget? disabledHint,
- Callback? onTap,
- @Default(8) int elevation,
- TextStyle? style,
- Widget? icon,
- Color? iconDisabledColor,
- Color? iconEnabledColor,
- @Default(24.0) double iconSize,
- @Default(true) bool isDense,
- @Default(false) bool isExpanded,
- double? itemHeight,
- Color? focusColor,
- @Default(false) bool autofocus,
- Color? dropdownColor,
- InputDecoration? decoration,
- Map<String, String>? validatorMessages,
- AutovalidateMode? autovalidateMode,
- bool? enableFeedback,
- @Default(Alignment.centerLeft) Alignment alignment,
- BorderRadius? borderRadius}
)
Implementation
const factory Widget.dropdownButtonFormField({
Key? key,
FormStringField? field,
required List<DropdownMenuItem> items,
String? value,
Widget? hint,
Widget? disabledHint,
Callback? onTap,
@Default(8) int elevation,
TextStyle? style,
Widget? icon,
Color? iconDisabledColor,
Color? iconEnabledColor,
@Default(24.0) double iconSize,
@Default(true) bool isDense,
@Default(false) bool isExpanded,
double? itemHeight,
Color? focusColor,
@Default(false) bool autofocus,
Color? dropdownColor,
InputDecoration? decoration,
Map<String, String>? validatorMessages,
AutovalidateMode? autovalidateMode,
double? menuMaxHeight,
bool? enableFeedback,
@Default(Alignment.centerLeft) Alignment alignment,
BorderRadius? borderRadius,
}) = DropdownButtonFormField;