NikuDropdownButtonFormField<T>.label constructor
NikuDropdownButtonFormField<T>.label (
- String label, {
- List<
DropdownMenuItem< ? items,T> > - 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,
- bool? enableFeedback,
- AlignmentGeometry? alignment,
- BorderRadius? borderRadius,
- 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,
);