TypeAheadCupertinoDefaults class abstract final

A set of Cupertino specific default builders used by a CupertinoTypeAheadField.

Properties

hashCode → int
The hash code for this object.
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

Static Methods

builder(BuildContext context, TextEditingController controller, FocusNode node) → Widget
The default text field builder used by a CupertinoTypeAheadField.
decorationBuilder(BuildContext context, Widget child) → Widget
The default decoration builder used by a CupertinoTypeAheadField.
emptyBuilder(BuildContext context) → Widget
The default empty builder used by a CupertinoTypeAheadField. Displays 'No Items Found!'.
errorBuilder(BuildContext context, Object? error) → Widget
The default error builder used by a CupertinoTypeAheadField. Displays the error message in CupertinoColors.destructiveRed.
itemBuilder<T>(SuggestionsItemBuilder<T> builder) → SuggestionsItemBuilder<T>
A Wrapper around the item builder of a CupertinoTypeAheadField. Provides the functionality to select an item on tap.
loadingBuilder(BuildContext context) → Widget
The default loading builder used by a CupertinoTypeAheadField. Displays a centered CupertinoActivityIndicator.
wrapperBuilder(SuggestionsDecorationBuilder? builder) → SuggestionsItemBuilder<Widget>
A Wrapper around the suggestions box of a CupertinoTypeAheadField. Adds various Cupertino specific decorations.