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