DigitDropdown<T> constructor

const DigitDropdown<T>({
  1. Key? key,
  2. required String label,
  3. required List<T> menuItems,
  4. required String formControlName,
  5. bool isRequired = false,
  6. required String valueMapper(
    1. T value
    ),
  7. T? initialValue,
  8. ValueChanged<T>? onChanged,
  9. Map<String, String Function(Object object)>? validationMessages,
})

Implementation

const DigitDropdown({
  super.key,
  required this.label,
  required this.menuItems,
  required this.formControlName,
  this.isRequired = false,
  required this.valueMapper,
  this.initialValue,
  this.onChanged,
  this.validationMessages,
});