EasyLoadMore class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- EasyLoadMore
Constructors
- EasyLoadMore({Key? key, double loadingWidgetContainerHeight = EasyLoadMoreLoadingWidgetDefaultOpts.containerHeight, double loadingWidgetSize = EasyLoadMoreLoadingWidgetDefaultOpts.size, double loadingWidgetStrokeWidth = EasyLoadMoreLoadingWidgetDefaultOpts.strokeWidth, Color loadingWidgetColor = EasyLoadMoreLoadingWidgetDefaultOpts.color, int loadingWidgetAnimationDelay = EasyLoadMoreLoadingWidgetDefaultOpts.delay, String idleStatusText = EasyLoadMoreStatusText.idle, String loadingStatusText = EasyLoadMoreStatusText.loading, String failedStatusText = EasyLoadMoreStatusText.failed, String finishedStatusText = EasyLoadMoreStatusText.finished, Color? statusTextColor, bool isFinished = false, bool runOnEmptyResult = false, required FutureCallBack onLoadMore, required Widget child})
-
const
Properties
- child → Widget
-
The child widget.
final
- failedStatusText → String
-
Status text to show when the processing is failed.
final
- finishedStatusText → String
-
Status text to show when there's no more items to load.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idleStatusText → String
-
Status text to show when the load more is not triggered.
final
- isFinished → bool
-
Manually turn-off the next load more.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- loadingStatusText → String
-
Status text to show when the process is loading.
final
- loadingWidgetAnimationDelay → int
-
The loading widget animation delay.
final
- loadingWidgetColor → Color
-
The loading widget color.
final
- loadingWidgetContainerHeight → double
-
The height of the loading widget's container/wrapper.
final
- loadingWidgetSize → double
-
The loading widget size.
final
- loadingWidgetStrokeWidth → double
-
The loading widget stroke width.
final
- onLoadMore → FutureCallBack
-
Callback function to run during the load more process.
final
- runOnEmptyResult → bool
-
Whether or not to run the load more even though the result is empty/finished.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusTextColor → Color?
-
Text color of the statuses.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< EasyLoadMore> -
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