DropdownWidget<T> constructor
const
DropdownWidget<T> ({
- Key? key,
- required DropdownOptions dropdownOptions,
- required DropdownItemOptions dropdownItemOptions,
- required DropdownTriangleOptions dropdownTriangleOptions,
- required DropdownController controller,
- required GlobalKey<
State< resultKey,StatefulWidget> > - required BuildContext bodyContext,
- required List<
CoolDropdownItem> dropdownList, - required void onChange(
- T t
- required GetSelectedItem getSelectedItem,
- required CoolDropdownItem<
T> ? selectedItem,
Implementation
const DropdownWidget({
Key? key,
required this.dropdownOptions,
required this.dropdownItemOptions,
required this.dropdownTriangleOptions,
required this.controller,
required this.resultKey,
required this.bodyContext,
required this.dropdownList,
required this.onChange,
required this.getSelectedItem,
required this.selectedItem,
}) : super(key: key);