DropdownWidget<T> constructor
const
DropdownWidget<T> ({
- Key? key,
- required String formControlName,
- required List<
T> options, - required String dataLabel(
- T
- required dynamic valueProperty(
- T
- String label = '',
- Map<
String, String Function(Object)> ? validationMessages, - bool? isDarker,
- Icon? prefixIcon,
- bool readOnly = false,
- void onFocusChange()?,
- void onChange(
- FormControl<
Object>
- FormControl<
Implementation
const DropdownWidget(
{Key? key,
required this.formControlName,
required this.options,
required this.dataLabel,
required this.valueProperty,
this.label = '',
this.validationMessages,
this.isDarker,
this.prefixIcon,
this.readOnly = false,
this.onFocusChange,
this.onChange})
: super(key: key);