AutoComplete constructor

const AutoComplete({
  1. Key? key,
  2. required List<String> suggestions,
  3. required Widget child,
  4. BoxConstraints? popoverConstraints,
  5. PopoverConstraint? popoverWidthConstraint,
  6. AlignmentDirectional? popoverAnchorAlignment,
  7. AlignmentDirectional? popoverAlignment,
  8. AutoCompleteMode mode = AutoCompleteMode.replaceWord,
  9. AutoCompleteCompleter completer = _defaultCompleter,
})

Implementation

const AutoComplete({
  super.key,
  required this.suggestions,
  required this.child,
  this.popoverConstraints,
  this.popoverWidthConstraint,
  this.popoverAnchorAlignment,
  this.popoverAlignment,
  this.mode = AutoCompleteMode.replaceWord,
  this.completer = _defaultCompleter,
});