DigitReactiveSearchDropdown<T> constructor

const DigitReactiveSearchDropdown<T>({
  1. Key? key,
  2. required String label,
  3. required FormGroup form,
  4. required List<T> menuItems,
  5. required String formControlName,
  6. bool isRequired = false,
  7. required String valueMapper(
    1. dynamic value
    ),
  8. String? validationMessage,
  9. EdgeInsets? padding,
  10. void onSelected(
    1. dynamic
    )?,
  11. void onFieldTap(
    1. dynamic
    )?,
  12. String emptyText = 'No Matches Found',
  13. 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);