ApzDropdownField<T> constructor

const ApzDropdownField<T>({
  1. Key? key,
  2. required String label,
  3. required T? value,
  4. required List<DropdownMenuItem<T>> items,
  5. required void onChanged(
    1. T?
    ),
  6. String? validator(
    1. T?
    )?,
  7. bool enabled = true,
  8. bool defaultRequired = true,
  9. bool isMandatory = false,
})

Implementation

const ApzDropdownField({
  super.key,
  required this.label,
  required this.value,
  required this.items,
  required this.onChanged,
  this.validator,
  this.enabled = true,
  this.defaultRequired = true,
  this.isMandatory = false,
});