FmResultViewOptions class
Constructors
- FmResultViewOptions.new({EdgeInsets? padding, Widget? emptyView, Widget? noTextView, Widget? loadingView, Widget itemBuilder(BuildContext, int, FmData)?, double maxHeight = 200, Widget separatorBuilder(BuildContext, int)?, dynamic onOverlayVisible(bool)?, BoxDecoration? overlayDecoration})
-
Options for customizing the result view
const
Properties
- emptyView → Widget?
-
The widget to display when there is no result.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemBuilder → Widget Function(BuildContext, int, FmData)?
-
A builder function for customizing the appearance of list items.
final
- loadingView → Widget?
-
The widget to display while loading results.
final
- maxHeight → double
-
The maximum height of the result view overlay.
final
- noTextView → Widget?
-
The widget to display when there is no input text.
final
- onOverlayVisible → dynamic Function(bool)?
-
receive callback when result overlay visibility changes
USE CASE: ignore background pointers & unfocus text field when overlay is visible
final
- overlayDecoration → BoxDecoration?
-
The decoration for the result view overlay.
final
- padding → EdgeInsets?
-
The padding for the result view overlay.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separatorBuilder → Widget Function(BuildContext, int)?
-
A builder function for customizing the separator between list items.
final
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