AdaptiveSpinner class

A circular progress indicator, scalable and adaptive to multiple platforms

Inheritance

Constructors

AdaptiveSpinner({Key? key, Alignment? alignment, Clip clipBehavior = Clip.none, Color? withContainerColor, Color withSpinnerColor = Colors.black, Decoration? decoration, Decoration? foregroundDecoration, double? height, EdgeInsetsGeometry? margin, Matrix4? matrix, EdgeInsetsGeometry? padding, double? width, bool withContainer = false, String? withMessage, double withRadius = radiusDefaultValue, double? withSizedBox, TextStyle? withStyle, TextAlign? withTextAlign, Duration withDuration = const Duration(milliseconds: 1200)})
Every argument is optional
const

Properties

alignment Alignment?
Container's alignment
final
clipBehavior Clip
Container's clip behavior
final
decoration Decoration?
Container's BoxDecoration
final
foregroundDecoration Decoration?
Container's Foreground Decoration
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Container's height
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsetsGeometry?
Container's margins
final
matrix Matrix4?
Container's transform matrix
final
padding EdgeInsetsGeometry?
Container's padding
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
/// Container's width
final
withContainer bool
Wrap the spinner in a customizable container
final
withContainerColor Color?
Container's color
final
withDuration Duration
final
withMessage String?
Add a message to the spinner
final
withRadius double
Radius of the Spinner
final
withSizedBox double?
Size the Spinner
final
withSpinnerColor Color
Customize the spinner's color
final
withStyle TextStyle?
Style the message text
final
withTextAlign TextAlign?
Align the message text
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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