SmartDropdown<T> constructor
const
SmartDropdown<T> ({
- required String label,
- required List<
SmartDropdownItem< items,T> > - Key? key,
- dynamic onChanged()?,
- SmartDropdownItem<
T> ? value, - String? error,
Implementation
const SmartDropdown({
required this.label,
required this.items,
super.key,
this.onChanged,
this.value,
this.error,
});