widget method

Widget widget(
  1. BuildContext context
)
override

Implementation

widget(context) => DropdownButtonFormField<T>(
      items: items ??
          itemsValue
              ?.map(
                (v) => DropdownMenuItem<T>(
                  value: v,
                  child: Text(
                    v.toString(),
                  ),
                ),
              )
              .toList(growable: false),
      selectedItemBuilder: selectedItemBuilder,
      value: value,
      hint: hint,
      disabledHint: disabledHint,
      onChanged: onChanged,
      onTap: onTap,
      elevation: elevation ?? 8,
      style: style?.value,
      icon: icon,
      iconDisabledColor: iconDisabledColor,
      iconEnabledColor: iconEnabledColor,
      iconSize: iconSize ?? 24.0,
      isDense: isDense ?? false,
      isExpanded: isExpanded ?? false,
      itemHeight: itemHeight ?? kMinInteractiveDimension,
      focusColor: focusColor,
      focusNode: focusNode,
      autofocus: autofocus ?? false,
      dropdownColor: dropdownColor,
      menuMaxHeight: menuMaxHeight,
      enableFeedback: enableFeedback,
      alignment: alignment ?? AlignmentDirectional.centerStart,
      decoration: decoration?.value,
    );