SearchAppBarPageStream<T> class

Inheritance

Constructors

SearchAppBarPageStream({Key? key, required Stream<List<T>> listStream, required WidgetsListBuilder<T> obxListBuilder, List<T>? initialData, WidgetsErrorBuilder? widgetErrorBuilder, StringFilter<T>? stringFilter, Filter<T>? filter, SortList<T>? sortFunction, 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, List<Widget>? searchPagePersistentFooterButtons, Widget? searchPageDrawer, Widget? searchPageEndDrawer, Widget? searchPageBottomNavigationBar, 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, Widget? widgetWaiting})
const

Properties

drawerDragStartBehavior DragStartBehavior
final
drawerEdgeDragWidth double?
final
drawerEnableOpenDragGesture bool
final
drawerScrimColor Color?
final
endDrawerEnableOpenDragGesture bool
final
extendBody bool
final
extendBodyBehindAppBar bool
final
filter → Filter<T>?
filter Add function to do filtering manually. If you leave this parameter not null the parameter stringFilter must be null
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
hashCode int
The hash code for this object.
no setterinherited
initialData List<T>?
Parameters para o SearcherGetController initialData List to be filtered by Search. widgetWaiting
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listStream Stream<List<T>>
listStream Just add the Stream and we are already in charge of working with the data. There is a StreamBuilder in background.
final
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
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?
Parameters do SearchAppBar
final
searchPageBackgroundColor Color?
final
searchPageBottomNavigationBar Widget?
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
searchPagePersistentFooterButtons List<Widget>?
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. sort default compare by stringFilter return.
final
sortFunction → SortList<T>?
sortFunction Manually add your sort function.
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
widgetWaiting Widget?
Start showing widgetWaiting until it shows the first data
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<SearchAppBarPageStream<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