DropdownWidget<T> constructor

const DropdownWidget<T>({
  1. Key? key,
  2. required String formControlName,
  3. required List<T> options,
  4. required String dataLabel(
    1. T
    ),
  5. required dynamic valueProperty(
    1. T
    ),
  6. String label = '',
  7. Map<String, String Function(Object)>? validationMessages,
  8. bool? isDarker,
  9. Icon? prefixIcon,
  10. bool readOnly = false,
  11. void onFocusChange(
    1. FocusNode
    )?,
  12. void onChange(
    1. FormControl<Object>
    )?,
})

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);