MAutocompleterTextField constructor

const MAutocompleterTextField({
  1. Key? key,
  2. List<String> getOptions(
    1. String
    )?,
  3. Future<List<String>> getOptionsAsync(
    1. String
    )?,
  4. InputDecoration decoration = const InputDecoration(),
  5. TextStyle? style,
  6. TextStyle? optionStyle,
  7. int maxOptionsVisible = 5,
})

Implementation

const MAutocompleterTextField({
  super.key,
  this.getOptions,
  this.getOptionsAsync,
  this.decoration = const InputDecoration(),
  this.style,
  this.optionStyle,
  this.maxOptionsVisible = 5,
}) : assert(getOptions != null || getOptionsAsync != null);