DDSPullToRefreshLayout class

Inheritance

Constructors

DDSPullToRefreshLayout({Key? key, required Widget pageContent, required Future<void> onRefresh(), bool loaderEnabled = true, LoaderType loaderType = LoaderType.dotSpinner, String loaderSize = 'medium', Color loaderColor = ThemeColors.primary, double? lineLoaderHeight, double? lineLoaderWidth, Color? lineLoaderBackgroundColor, Color? lineLoaderStripeColor, double refreshTriggerThreshold = 100.0, bool enableBoxShadow = false, String? dotLoaderText, Color? dotLoaderTextColor, String? lineLoaderText, Color? lineLoaderTextColor, String? roundSpinnerText, Color? roundSpinnerTextColor, String? lineSpinnerText, Color? lineSpinnerTextColor, String? dotSpinnerText, Color? dotSpinnerTextColor, double loaderPaddingTop = 0.0, double loaderPaddingBottom = 0.0, Map<DDSRefreshStatus, VoidCallback?>? stateActions, Color? loaderBackgroundColor, IndicatorController? indicatorController, GlobalKey<CustomRefreshIndicatorState>? refreshKey})
const

Properties

dotLoaderText → String?
final
dotLoaderTextColor → Color?
final
dotSpinnerText → String?
final
dotSpinnerTextColor → Color?
final
enableBoxShadow → bool
final
hashCode → int
The hash code for this object.
no setterinherited
indicatorController → IndicatorController?
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineLoaderBackgroundColor → Color?
final
lineLoaderHeight → double?
final
lineLoaderStripeColor → Color?
final
lineLoaderText → String?
final
lineLoaderTextColor → Color?
final
lineLoaderWidth → double?
final
lineSpinnerText → String?
final
lineSpinnerTextColor → Color?
final
loaderBackgroundColor → Color?
final
loaderColor → Color
final
loaderEnabled → bool
final
loaderPaddingBottom → double
final
loaderPaddingTop → double
final
loaderSize → String
final
loaderType → LoaderType
final
onRefresh → Future<void> Function()
final
pageContent → Widget
final
refreshKey → GlobalKey<CustomRefreshIndicatorState>?
final
refreshTriggerThreshold → double
final
roundSpinnerText → String?
final
roundSpinnerTextColor → Color?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stateActions → Map<DDSRefreshStatus, VoidCallback?>?
final

Methods

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