CustomDropdown<T> constructor
const
CustomDropdown<T> ({
- Key? key,
- void onChange(
- T,
- int
- required List<
DropdownItem< items,T> > - String? placeholder,
- DropdownStyle? dropdownStyle,
- DropdownButtonStyle? dropdownButtonStyle,
- bool withArrow = true,
- DropdownController? controller,
- int? startIndex,
- bool enabled = true,
Implementation
const CustomDropdown({
Key? key,
this.onChange,
required this.items,
this.placeholder,
this.dropdownStyle,
this.dropdownButtonStyle,
this.withArrow = true,
this.controller,
this.startIndex,
this.enabled = true,
}) : super(key: key);