DropdownOption constructor

const DropdownOption({
  1. Key? key,
  2. required DropdownItem option,
  3. required bool isSelected,
  4. required SelectionType selectionType,
  5. required Color backgroundColor,
  6. required List<DropdownItem> selectedOptions,
  7. dynamic onOptionSelected(
    1. List<DropdownItem>
    )?,
  8. bool? isFocused,
  9. dynamic onHover(
    1. DropdownItem currentHoverItem,
    2. bool isHovered
    )?,
  10. 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,
});