WiperLoading class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- WiperLoading
Constructors
- WiperLoading({Key? key, double minWidth = 0, double minHeight = 0, required Widget child, Duration interval = const Duration(milliseconds: 750), bool loading = true, Color? wiperColor, Curve sizeCurve = Curves.linear, Duration sizeDuration = const Duration(milliseconds: 500), Curve curve = Curves.easeInOutCirc, WiperBuilder? wiperBuilder, bool animatedSize = true, double wiperDeformingFactor = 0.5, double wiperWidth = 15.0, WiperDirection direction = WiperDirection.right})
-
const
Properties
- animatedSize → bool
-
Activating/deactivating AnimatedSize-Wrapper of child.
final
- child → Widget
-
final
- curve → Curve
-
Curve of the wiper animation.
final
- direction → WiperDirection
-
Direction of the wiper.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval → Duration
-
Duration of the wiper animation.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- loading → bool
-
Indicates whether the widget/data is loaded.
final
- minHeight → double
-
Min width of the wiper widget.
final
- minWidth → double
-
Min width of the wiper widget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeCurve → Curve
-
Curve of the AnimatedSize. For deactivating animatedSize you can use animatedSize.
final
- sizeDuration → Duration
-
Duration of the AnimatedSize. For deactivating animatedSize you can use animatedSize.
final
- wiperBuilder → WiperBuilder?
-
Builder of the wiper. If this is not set, the standard wiper will be shown.
final
- wiperColor → Color?
-
Color of the wiper animation if the wiperBuilder is null
final
- wiperDeformingFactor → double
-
Factor for manipulating the size of the wiper based on its current speed. For deactivating the deforming you have to set it to zero.
final
- wiperWidth → double
-
Standard width of the wiper.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _WiperLoadingState -
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
Static Methods
-
future(
{Key? key, required Future< Widget> future, double minWidth = 50, double minHeight = 50, Duration interval = const Duration(milliseconds: 750), Color? wiperColor, Curve sizeCurve = Curves.linear, Duration sizeDuration = const Duration(milliseconds: 500), Curve curve = Curves.easeInOutCirc, WiperBuilder? wiperBuilder, bool animatedSize = true, double wiperDeformingFactor = 0.5, double wiperWidth = 15.0, WiperDirection direction = WiperDirection.right}) → Widget