SearchAppBarPageRefresh<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SearchAppBarPageRefresh
Constructors
-
SearchAppBarPageRefresh({Key? key, required FuncionRefresh<
T> functionRefresh, required WidgetsListBuilder<T> obxListBuilder, List<T> ? initialData, WidgetsErrorBuilder? widgetErrorBuilder, StringFilter<T> ? stringFilter, bool sortCompare = true, RxBoolAuth? rxBoolAuth, FiltersTypes? filtersType, Widget? searchAppBartitle, bool searchAppBarcenterTitle = false, IconThemeData? searchAppBarIconTheme, Color? searchAppBarbackgroundColor, Color? searchAppBarModeSearchBackgroundColor, Color? searchAppBarElementsColor, String? searchAppBarhintText, bool searchAppBarflattenOnSearch = false, TextCapitalization searchAppBarcapitalization = TextCapitalization.none, List<Widget> searchAppBaractions = const <Widget>[], double searchAppBarElevation = 4.0, TextInputType? searchAppBarKeyboardType, Color? magnifyinGlassColor, Widget? searchPageFloatingActionButton, FloatingActionButtonLocation? searchPageFloatingActionButtonLocation, FloatingActionButtonAnimator? searchPageFloatingActionButtonAnimator, Widget? searchPageDrawer, Widget? searchPageEndDrawer, Widget? searchPageBottomSheet, Color? searchPageBackgroundColor, String? restorationId, bool? resizeToAvoidBottomInset, bool primary = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start, bool extendBody = false, bool extendBodyBehindAppBar = false, Color? drawerScrimColor, double? drawerEdgeDragWidth, bool drawerEnableOpenDragGesture = true, bool endDrawerEnableOpenDragGesture = true, double refreshStrokeWidth = 2.0, Color? refreshBackgroundColor, double refreshDisplacement = 40.0, Color? refreshColor, RefreshIndicatorTriggerMode refreshTriggerMode = RefreshIndicatorTriggerMode.onEdge}) -
const
Properties
- drawerDragStartBehavior → DragStartBehavior
-
final
- drawerEdgeDragWidth → double?
-
final
- drawerEnableOpenDragGesture → bool
-
final
- drawerScrimColor → Color?
-
final
- endDrawerEnableOpenDragGesture → bool
-
final
- extendBody → bool
-
final
- extendBodyBehindAppBar → bool
-
final
- filtersType → FiltersTypes?
-
filtersType These are the filters that the Controller uses to
filter the list. Divide the filters into three types:
startsWith, equals, contains. Default = FiltersTypes.contains;
final
-
functionRefresh
→ FuncionRefresh<
T> -
functionRefresh Just add the future function and we are already
in charge of working with the data. There is a FutureBuilder
in background.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialData
→ List<
T> ? -
Parametros para o SearcherGetController
initialData List to be filtered by Search.
These widgets will not be displayed.
widgetOffConnectyWaiting
andwidgetWaiting
final - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- magnifyinGlassColor → Color?
-
magnifyinGlassColor Changes the color of the magnifying glass.
Keeps IconTheme color by default.
final
-
obxListBuilder
→ WidgetsListBuilder<
T> -
obxListBuilder Function applied when receiving data
through Stream or filtering in search.
final
- primary → bool
-
final
- refreshBackgroundColor → Color?
-
The progress indicator's background color. The current theme's
ThemeData.canvasColor by default.
final
- refreshColor → Color?
-
The progress indicator's foreground color. The current theme's
ThemeData.floatingActionButtonTheme by default.
final
- refreshDisplacement → double
-
final
- refreshStrokeWidth → double
-
final
- refreshTriggerMode → RefreshIndicatorTriggerMode
-
final
- resizeToAvoidBottomInset → bool?
-
final
- restorationId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- rxBoolAuth → RxBoolAuth?
-
rxBoolAuth Insert your RxBool here that changes with the auth
status to have reactivity.
final
-
searchAppBaractions
→ List<
Widget> -
final
- searchAppBarbackgroundColor → Color?
-
final
- searchAppBarcapitalization → TextCapitalization
-
final
- searchAppBarcenterTitle → bool
-
final
- searchAppBarElementsColor → Color?
-
final
- searchAppBarElevation → double
-
final
- searchAppBarflattenOnSearch → bool
-
final
- searchAppBarhintText → String?
-
final
- searchAppBarIconTheme → IconThemeData?
-
final
- searchAppBarKeyboardType → TextInputType?
-
final
- searchAppBarModeSearchBackgroundColor → Color?
-
final
- searchAppBartitle → Widget?
-
Paramentros do SearchAppBar
final
- searchPageBackgroundColor → Color?
-
final
-
final
- searchPageBottomSheet → Widget?
-
final
- searchPageDrawer → Widget?
-
final
- searchPageEndDrawer → Widget?
-
final
- searchPageFloatingActionButton → Widget?
-
searchPageFloatingActionButton , searchPageFloatingActionButton ,
searchPageFloatingActionButtonLocation ,
searchPageFloatingActionButtonAnimator ...
...
are passed on to the Scaffold.
final
- searchPageFloatingActionButtonAnimator → FloatingActionButtonAnimator?
-
final
- searchPageFloatingActionButtonLocation → FloatingActionButtonLocation?
-
final
-
final
- sortCompare → bool
-
If you want your list to be sorted, add the function on.
Example: (Person a, Person b) => a.name.compareTo(b.name),
This list will be ordered by the object name parameter.
sortCompare Your list will be ordered by the same function
stringFilter. True by default.
final
-
stringFilter
→ StringFilter<
T> ? -
stringFilter Required if you type.
If not, it is understood that the type will be String.
ex.: stringFilter: (Person person) => person.name,
The list will be filtered by the person.name contains (default) a query.
final
- widgetErrorBuilder → WidgetsErrorBuilder?
-
widgetErrorBuilder Widget built by the Object error returned by the
listStream
error.final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< SearchAppBarPageRefresh< T> > -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited