PaginatedSearchBarState enum

Inheritance

Constructors

PaginatedSearchBarState()
const

Values

searching → const PaginatedSearchBarState

Present when the search bar is searching for items. Triggered when they update their search query in the input.

loading → const PaginatedSearchBarState

Present when the search bar is fetching a page of items either as a result of a modified search query or by scrolling to the bottom of the list view and triggering the next page load.

empty → const PaginatedSearchBarState

Present when the search bar has no matching items for the current search query.

done → const PaginatedSearchBarState

Present when the search bar has no more items to fetch for the current search query. Triggered when the PaginatedSearchBar.onSearch function returns fewer than PaginatedSearchBar.pageLimit items or EndlessPaginationDelegate.maxPage has been reached and no more items can be fetched.

focused → const PaginatedSearchBarState

Present the input is currently focused.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PaginatedSearchBarState>
A constant List of the values in this enum, in order of their declaration.