ResultWidget<T> constructor

const ResultWidget<T>({
  1. Key? key,
  2. required List<CoolDropdownItem<T>> dropdownList,
  3. required ResultOptions resultOptions,
  4. required DropdownOptions dropdownOptions,
  5. required DropdownItemOptions dropdownItemOptions,
  6. required DropdownTriangleOptions dropdownArrowOptions,
  7. required DropdownController<T> controller,
  8. required dynamic onChange(
    1. T value
    ),
  9. void onOpen(
    1. bool isOpened
    )?,
  10. 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);