FluentAutoSuggestBoxState<T> constructor

const FluentAutoSuggestBoxState<T>({
  1. List<FluentAutoSuggestBoxItem<T>> items = const [],
  2. FluentAutoSuggestBoxItem<T>? selectedItem,
  3. String text = '',
  4. bool isLoading = false,
  5. Object? error,
  6. bool isOverlayVisible = false,
  7. bool isEnabled = true,
  8. bool isReadOnly = false,
})

Implementation

const FluentAutoSuggestBoxState({
  this.items = const [],
  this.selectedItem,
  this.text = '',
  this.isLoading = false,
  this.error,
  this.isOverlayVisible = false,
  this.isEnabled = true,
  this.isReadOnly = false,
});