ResultWidget<T> constructor
const
ResultWidget<T> ({
- Key? key,
- required List<
CoolDropdownItem< dropdownList,T> > - required ResultOptions resultOptions,
- required DropdownOptions dropdownOptions,
- required DropdownItemOptions dropdownItemOptions,
- required DropdownTriangleOptions dropdownArrowOptions,
- required DropdownController<
T> controller, - required dynamic onChange(
- T value
- void onOpen(
- bool isOpened
- CoolDropdownItem<
T> ? defaultItem,
Implementation
const ResultWidget({
Key? key,
required this.dropdownList,
required this.resultOptions,
required this.dropdownOptions,
required this.dropdownItemOptions,
required this.dropdownArrowOptions,
required this.controller,
required this.onChange,
this.onOpen,
this.defaultItem,
}) : super(key: key);