NikuDropdownButtonFormField<T> constructor

NikuDropdownButtonFormField<T>(
  1. T? value, {
  2. Key? key,
  3. DropdownButtonBuilder? selectedItemBuilder,
  4. List<DropdownMenuItem<T>>? items,
  5. Widget? hint,
  6. Widget? disabledHint,
  7. ValueChanged<T?>? onChanged,
  8. VoidCallback? onTap,
  9. int? elevation,
  10. NikuTextStyle? style,
  11. Widget? icon,
  12. Color? iconDisabledColor,
  13. Color? iconEnabledColor,
  14. double? iconSize,
  15. bool? isDense,
  16. bool? isExpanded,
  17. double? itemHeight,
  18. Color? focusColor,
  19. FocusNode? focusNode,
  20. bool? autofocus,
  21. Color? dropdownColor,
  22. double? menuMaxHeight,
  23. bool? enableFeedback,
  24. AlignmentGeometry? alignment,
  25. List<T>? itemsValue,
  26. NikuInputDecoration? decoration,
})

Implementation

NikuDropdownButtonFormField(
  this.value, {
  Key? key,
  this.selectedItemBuilder,
  this.items,
  this.hint,
  this.disabledHint,
  this.onChanged,
  this.onTap,
  this.elevation,
  this.style,
  this.icon,
  this.iconDisabledColor,
  this.iconEnabledColor,
  this.iconSize,
  this.isDense,
  this.isExpanded,
  this.itemHeight,
  this.focusColor,
  this.focusNode,
  this.autofocus,
  this.dropdownColor,
  this.menuMaxHeight,
  this.enableFeedback,
  this.alignment,
  this.itemsValue,
  this.decoration,
}) : super(key: key);