SearchAppBarPage<T> class

Inheritance

Constructors

SearchAppBarPage({Key? key, required List<T> listFull, required WidgetsListBuilder<T> obxListBuilder, bool sortCompare = true, FiltersTypes? filtersType, Filter<T>? filter, SortList<T>? sortFunction, StringFilter<T>? stringFilter, RxBoolAuth? rxBoolAuth, 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? magnifyGlassColor, Widget? searchPageFloatingActionButton, FloatingActionButtonLocation? searchPageFloatingActionButtonLocation, FloatingActionButtonAnimator? searchPageFloatingActionButtonAnimator, List<Widget>? searchPagePersistentFooterButtons, Widget? searchPageDrawer, Widget? searchPageEndDrawer, Widget? searchPageBottomNavigationBar, Widget? searchPageBottomSheet, Color? searchPageBackgroundColor, 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, String? restorationId})
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: enum FiltersTypes { startsWith, equals, contains } Default = FiltersTypes.contains;
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listFull List<T>
Parameters para o SearcherGetController listFull List to be filtered by Search.
final
magnifyGlassColor Color?
final
obxListBuilder → WidgetsListBuilder<T>
obxListBuilder Function applied when it is filtered.
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 of SearchAppBar
final
searchPageBackgroundColor Color?
final
searchPageBottomNavigationBar Widget?
final
searchPageBottomSheet Widget?
final
searchPageDrawer Widget?
final
searchPageEndDrawer Widget?
final
searchPageFloatingActionButton Widget?
Parameters Scaffold
final
searchPageFloatingActionButtonAnimator FloatingActionButtonAnimator?
final
searchPageFloatingActionButtonLocation FloatingActionButtonLocation?
final
searchPagePersistentFooterButtons List<Widget>?
final
sortCompare bool
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

Methods

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