DropDownEnumField<T> constructor

const DropDownEnumField<T>({
  1. Key? key,
  2. required Map<T, String> items,
  3. required SuperValidationValue<T> superValidation,
  4. T? value,
  5. Widget? hint,
  6. Widget? disabledHint,
  7. VoidCallback? onTap,
  8. int elevation = 8,
  9. TextStyle? style,
  10. Widget? icon,
  11. Color? iconDisabledColor,
  12. Color? iconEnabledColor,
  13. double iconSize = 24.0,
  14. bool isDense = true,
  15. bool isExpanded = false,
  16. double? itemHeight,
  17. Color? focusColor,
  18. FocusNode? focusNode,
  19. bool autofocus = false,
  20. Color? dropdownColor,
  21. InputDecoration? decoration,
  22. AutovalidateMode? autovalidateMode,
  23. double? menuMaxHeight,
  24. bool? enableFeedback,
  25. AlignmentGeometry alignment = AlignmentDirectional.centerStart,
  26. BorderRadius? borderRadius,
  27. 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});