NikuDropdownButtonFormField<T>.label constructor

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

Implementation

factory NikuDropdownButtonFormField.label(
  String label, {
  List<DropdownMenuItem<T>>? items,
  List<T>? itemsValue,
  T? value,
  Widget? hint,
  Widget? disabledHint,
  ValueChanged<T?>? onChanged,
  VoidCallback? onTap,
  DropdownButtonBuilder? selectedItemBuilder,
  int? elevation,
  NikuTextStyle? style,
  Widget? underline,
  Widget? icon,
  Color? iconDisabledColor,
  Color? iconEnabledColor,
  double? iconSize,
  bool? isDense,
  bool? isExpanded,
  double? itemHeight,
  Color? focusColor,
  FocusNode? focusNode,
  bool? autofocus,
  Color? dropdownColor,
  double? menuMaxHeight,
  bool? enableFeedback,
  AlignmentGeometry? alignment,
  BorderRadius? borderRadius,
  NikuInputDecoration? decoration,
}) =>
    NikuDropdownButtonFormField<T>(
      value,
      items: items,
      selectedItemBuilder: selectedItemBuilder,
      hint: hint,
      disabledHint: disabledHint,
      onChanged: onChanged,
      onTap: onTap,
      elevation: elevation,
      style: style,
      icon: icon,
      iconDisabledColor: iconDisabledColor,
      iconEnabledColor: iconEnabledColor,
      iconSize: iconSize,
      isDense: isDense,
      isExpanded: isExpanded,
      itemHeight: itemHeight,
      focusColor: focusColor,
      focusNode: focusNode,
      autofocus: autofocus,
      dropdownColor: dropdownColor,
      menuMaxHeight: menuMaxHeight,
      enableFeedback: enableFeedback,
      alignment: alignment,
      itemsValue: itemsValue,
      decoration: decoration,
    );