DropdownWidget<T> constructor

const DropdownWidget<T>({
  1. Key? key,
  2. required DropdownOptions dropdownOptions,
  3. required DropdownItemOptions dropdownItemOptions,
  4. required DropdownTriangleOptions dropdownTriangleOptions,
  5. required DropdownController controller,
  6. required GlobalKey<State<StatefulWidget>> resultKey,
  7. required BuildContext bodyContext,
  8. required List<CoolDropdownItem> dropdownList,
  9. required void onChange(
    1. T t
    ),
  10. required GetSelectedItem getSelectedItem,
  11. 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);