EasyPaging<DataType, ItemType> class
abstract
A flutter widget that convenient pagination.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- EasyPaging
Constructors
-
EasyPaging({Key? key, bool useDefaultPhysics = false, EasyRefreshController? controller, SpringDescription? spring, FrictionFactor? frictionFactor, NotRefreshHeader? notRefreshHeader, bool simultaneously = false, bool canRefreshAfterNoMore = false, bool canLoadAfterNoMore = false, bool resetAfterRefresh = true, bool refreshOnStart = false, double callRefreshOverOffset = 20, double callLoadOverOffset = 20, StackFit fit = StackFit.loose, Clip clipBehavior = Clip.hardEdge, EasyPagingItemBuilder<
ItemType> ? itemBuilder, WidgetBuilder? refreshOnStartWidgetBuilder, WidgetBuilder? emptyWidgetBuilder}) -
const
Properties
- callLoadOverOffset → double
-
Offset beyond trigger offset when calling load.
Used when EasyRefreshController.callLoad.
final
- callRefreshOverOffset → double
-
Offset beyond trigger offset when calling refresh.
Used when refreshOnStart is true and EasyRefreshController.callRefresh.
final
- canLoadAfterNoMore → bool
-
Is it loadable after no more.
final
- canRefreshAfterNoMore → bool
-
Is it possible to refresh after there is no more.
final
- clipBehavior → Clip
-
See Stack.clipBehavior.
final
- controller → EasyRefreshController?
-
EasyRefresh controller.
final
- emptyWidgetBuilder → WidgetBuilder?
-
Empty widget builder.
final
- fit → StackFit
-
See
Stack.StackFit
final - frictionFactor → FrictionFactor?
-
Friction factor when list is out of bounds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
itemBuilder
→ EasyPagingItemBuilder<
ItemType> ? -
Item builder.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
Overscroll behavior when
onLoad
is null. Won't build widget.final - notRefreshHeader → NotRefreshHeader?
-
Overscroll behavior when
onRefresh
is null. Won't build widget.final - refreshOnStart → bool
-
Refresh on start.
When the EasyRefresh build is complete, trigger the refresh.
final
- refreshOnStartWidgetBuilder → WidgetBuilder?
-
Refresh on start widget builder.
final
- resetAfterRefresh → bool
-
Reset after refresh when no more deactivation is loaded.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simultaneously → bool
-
Refresh and load can be performed simultaneously.
final
- spring → SpringDescription?
-
Structure that describes a spring's constants.
When spring is not set in Header and Footer.
final
- useDefaultPhysics → bool
-
When true, use EasyRefresh;
when false, use EasyRefresh.builder.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → EasyPagingState< DataType, ItemType> -
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