AutocompleteHighlightedOption constructor Null safety

const AutocompleteHighlightedOption(
  1. {Key? key,
  2. required ValueNotifier<int> highlightIndexNotifier,
  3. required Widget child}
)

Create an instance of AutocompleteHighlightedOption inherited widget.

Implementation

const AutocompleteHighlightedOption({
  super.key,
  required ValueNotifier<int> highlightIndexNotifier,
  required super.child,
}) : super(notifier: highlightIndexNotifier);