DropDownEnumField<T> constructor
const
DropDownEnumField<T> ({
- Key? key,
- required Map<
T, String> items, - required SuperValidationValue<
T> superValidation, - T? value,
- Widget? hint,
- Widget? disabledHint,
- VoidCallback? onTap,
- int elevation = 8,
- TextStyle? style,
- Widget? icon,
- Color? iconDisabledColor,
- Color? iconEnabledColor,
- double iconSize = 24.0,
- bool isDense = true,
- bool isExpanded = false,
- double? itemHeight,
- Color? focusColor,
- FocusNode? focusNode,
- bool autofocus = false,
- Color? dropdownColor,
- InputDecoration? decoration,
- AutovalidateMode? autovalidateMode,
- bool? enableFeedback,
- AlignmentGeometry alignment = AlignmentDirectional.centerStart,
- BorderRadius? borderRadius,
- DropdownButtonBuilder? selectedItemBuilder,
Implementation
const DropDownEnumField(
{super.key,
required this.items,
required this.superValidation,
this.value,
this.hint,
this.disabledHint,
this.onTap,
this.elevation = 8,
this.style,
this.icon,
this.iconDisabledColor,
this.iconEnabledColor,
this.iconSize = 24.0,
this.isDense = true,
this.isExpanded = false,
this.itemHeight,
this.focusColor,
this.focusNode,
this.autofocus = false,
this.dropdownColor,
this.decoration,
this.autovalidateMode,
this.menuMaxHeight,
this.enableFeedback,
this.alignment = AlignmentDirectional.centerStart,
this.borderRadius,
this.selectedItemBuilder});