CircularWidgetLoading class

Inheritance

Constructors

CircularWidgetLoading({Key? key, bool loading = true, double maxLoadingCircleSize = 75.0, Duration sizeDuration = const Duration(milliseconds: 500), Curve sizeCurve = Curves.linear, required Widget child, double dotRadius = 7.5, Color? dotColor, Duration appearingDuration = const Duration(milliseconds: 1000), Duration loadingDuration = const Duration(milliseconds: 2000), Curve appearingCurve = Curves.fastOutSlowIn, Curve loadingCurve = Curves.easeInOutCirc, EdgeInsetsGeometry padding = EdgeInsets.zero, DotBuilder? dotBuilder, double rollingDuration = 1.0, int dotCount = 5, double rollingFactor = 0.875, bool animatedSize = true, double minDotRadiusFactor = 0.5, double loadingCirclePadding = 8.0, Duration dotAppearingDuration = Duration.zero, Curve dotAppearingCurve = Curves.easeOutBack, bool animating = true, VoidCallback? onLoadingAnimationCompleted})
const

Properties

animatedSize bool
Activating/deactivating AnimatedSize wrapper of child.
final
animating bool
Indicates whether the animation should be played.
final
appearingCurve Curve
Curve of the appearing/disappearing of the child.
final
appearingDuration Duration
Duration of the appearing/disappearing of the child.
final
child Widget
final
dotAppearingCurve Curve
Curve of the appearing animation of the dot.
final
dotAppearingDuration Duration
Duration of the appearing animation of the dot.
final
dotBuilder DotBuilder?
Builder of the dots. If it is not set, the standard builder is used.
final
dotColor Color?
Color of the dots
final
dotCount int
Count of the dots in the loading-circle.
final
dotRadius double
Size of the biggest dot
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loading bool
Indicates whether the widget/data is loaded.
final
loadingCirclePadding double
Padding of LoadingCircle. Prevents it from touching the edges.
final
loadingCurve Curve
Curve of the loading-animation.
final
loadingDuration Duration
Duration of the loading-animation.
final
maxLoadingCircleSize double
Maximal size of the loading-circle. It's size will be smaller, if there is not enough space.
final
minDotRadiusFactor double
Size of the smallest dot relative to the dotRadius. Must be between 0 and 1.
final
onLoadingAnimationCompleted VoidCallback?
Called when loading animation completed after setting animating or loading to false.
final
padding EdgeInsetsGeometry
Padding of child
final
rollingDuration double
Duration of moving dots relative to the loadingDuration. Must be between 0 and 1.
final
rollingFactor double
Duration of the moving of a single dot relative to the rollingDuration. Must be between 0 and 1.
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

Methods

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