DropdownOption constructor
const
DropdownOption({
- Key? key,
- required DropdownItem option,
- required bool isSelected,
- required SelectionType selectionType,
- required Color backgroundColor,
- required List<
DropdownItem> selectedOptions, - dynamic onOptionSelected()?,
- bool? isFocused,
- dynamic onHover(
- DropdownItem currentHoverItem,
- bool isHovered
- int? focusedIndex,
Implementation
const DropdownOption({super.key,
required this.option,
required this.isSelected,
required this.selectionType,
required this.backgroundColor,
required this.selectedOptions,
this.onOptionSelected,
this.isFocused,
this.onHover,
this.focusedIndex,
});