SearchAppBarPagination<T> class

Inheritance

Constructors

SearchAppBarPagination({Key? key, required FutureFetchPageItems<T> futureFetchPageItems, required WidgetsPaginationItemBuilder<T> paginationItemBuilder, bool sortCompare = true, int? numItemsPage, Widget? widgetEndScrollPage, List<T>? initialData, FiltersTypes? filtersType, StringFilter<T>? stringFilter, RxBoolAuth? rxBoolAuth, Widget? searchAppBartitle, bool searchAppBarcenterTitle = false, IconThemeData? searchAppBarIconTheme, Color? searchAppBarbackgroundColor, Color? searchAppBarModeSearchBackgroundColor, Color? searchAppBarElementsColor, Color searchAppBarIconConnectyOffAppBarColor = Colors.redAccent, String? searchAppBarhintText, bool searchAppBarFlattenOnSearch = false, TextCapitalization searchAppBarCapitalization = TextCapitalization.none, List<Widget> searchAppBarActions = const <Widget>[], double searchAppBarElevation = 4.0, TextInputType? searchAppBarKeyboardType, Color? magnifyinGlassColor, WidgetsErrorBuilder? widgetErrorBuilder, Widget? widgetNothingFound, 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
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
futureFetchPageItems → FutureFetchPageItems<T>
futureFetchPageItems Return the list in parts or parts by query String filtered. We make the necessary changes on the device side to update the page to be requested. Eg: If numItemsPage = 6 and you receive 05 or 11 or send empty, = >>> it means that the data is over.
final
hashCode int
The hash code for this object.
no setterinherited
initialData List<T>?
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
numItemsPage int?
numItemsPage Automatically calculated when receiving the first data. If it has initialData it cannot be null.
final
paginationItemBuilder → WidgetsPaginationItemBuilder<T>
paginationItemBuilder Returns Widget from the object (
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
searchAppBarIconConnectyOffAppBarColor Color
searchAppBarIconConnectyOffAppBarColor You can change the color of iconConnectyOffAppBar. By default = Colors.redAccent.
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?
searchePageFloaActionButton , searchePageFloaActionButton , searchPageFloatingActionButtonLocation , searchPageFloatingActionButtonAnimator ... ... are passed on to the 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.
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
widgetEndScrollPage Widget?
widgetEndScrollPage shown when the end of the page arrives and awaits the Future of the data on the next page
final
widgetErrorBuilder → WidgetsErrorBuilder?
widgetErrorBuilder Widget built by the Object error returned by the futureFetchPageItems error.
final
widgetNothingFound Widget?
widgetNothingFound when searching for something you don't find data.
final
widgetWaiting Widget?
initialData List to be filtered by Search. These widgets will not be displayed. widgetOffConnectyWaiting and 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() → _SearchAppBarPaginationState<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