PaginationScreen<T> class

Inheritance

Constructors

PaginationScreen.new({Key? key, required APagination pagination, required Future<List<T>> future(), required Widget pageBuilder(List<T>), required Widget emptyWidget, required Widget errorWidget(dynamic, StackTrace, FutureSignal<List<T>>), required Widget loadingWidget, RefreshController? refreshController, TextEditingController? searchController, double? cacheExtent, DragStartBehavior? dragStartBehavior, bool enablePullUp = true, Widget? footer, Widget? header, OnTwoLevel? onTwoLevel, ScrollPhysics? physics, bool? primary, bool? reverse, ScrollController? scrollController, Axis? scrollDirection, int? semanticChildCount})
const

Properties

cacheExtent double?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
dragStartBehavior DragStartBehavior?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
emptyWidget Widget
final
enablePullUp bool
final
errorWidget Widget Function(dynamic, StackTrace, FutureSignal<List<T>>)
final
footer indicator display after content
final
future Future<List<T>> Function()
final
hashCode int
The hash code for this object.
no setterinherited
header indicator displace before content
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadingWidget Widget
final
onTwoLevel → OnTwoLevel?
callback when header ready to twoLevel
final
pageBuilder Widget Function(List<T>)
final
pagination APagination
final
physics ScrollPhysics?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
primary bool?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
refreshController → RefreshController?
final
reverse bool?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
scrollDirection Axis?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final
searchController TextEditingController?
final
semanticChildCount int?
copy from ScrollView,for setting in SingleChildView,not ScrollView
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<PaginationScreen<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, int wrapWidth = 65}) 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