PrismDropdown<T> constructor
- Key? key,
- required T? value,
- required List<
PrismDropdownItem< items,T> > - required ValueChanged<
T?> ? onChanged, - String? label,
- String? hint,
- IconData? icon,
- String? validator(
- T?
- bool enabled = true,
Creates a dropdown field.
Implementation
const PrismDropdown({
super.key,
required this.value,
required this.items,
required this.onChanged,
this.label,
this.hint,
this.icon,
this.validator,
this.enabled = true,
});