SmartDropdown<T> constructor

const SmartDropdown<T>({
  1. required String label,
  2. required List<SmartDropdownItem<T>> items,
  3. Key? key,
  4. dynamic onChanged(
    1. SmartDropdownItem<T>?
    )?,
  5. SmartDropdownItem<T>? value,
  6. String? error,
})

Implementation

const SmartDropdown({
  required this.label,
  required this.items,
  super.key,
  this.onChanged,
  this.value,
  this.error,
});