DigitReactiveSearchDropdown<T> constructor
const
DigitReactiveSearchDropdown<T> ({
- Key? key,
- required String label,
- required FormGroup form,
- required String formControlName,
- bool isRequired = false,
- required String valueMapper(
- T value
- String? validationMessage,
- EdgeInsets? padding,
- void onSelected(
- dynamic
- void onFieldTap(
- dynamic
- String emptyText = 'No Matches Found',
- bool enabled = true,
Implementation
const DigitReactiveSearchDropdown({
Key? key,
required this.label,
required this.form,
required this.menuItems,
required this.formControlName,
this.isRequired = false,
required this.valueMapper,
this.validationMessage,
this.padding,
this.onSelected,
this.onFieldTap,
this.emptyText = 'No Matches Found',
this.enabled = true,
}) : super(key: key);