GWaveSpinner class
A circular spinner with an optional animated wave fill.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- GWaveSpinner
- Available extensions
Constructors
- GWaveSpinner({Key? key, required Color color, Color trackColor = const Color(0x68757575), Color waveColor = const Color(0x68757575), double size = 50, Duration duration = const Duration(milliseconds: 3000), Curve curve = Curves.decelerate, Widget? child, AnimationController? controller, String? semanticsLabel})
-
Creates a circular wave spinner.
const
Properties
- centered → Widget
-
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Center widget.no setter - child → Widget?
-
Optional centered child.
final
- color → Color
-
Active arc color.
final
- controller → AnimationController?
-
Optional external controller.
final
- curve → Curve
-
Animation curve.
final
- duration → Duration
-
Duration for one full animation cycle.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeArea → Widget
-
Available on Widget, provided by the WidgetX extension
Wraps this widget in a SafeArea.no setter - semanticsLabel → String?
-
Screen-reader label announced while the spinner runs.
final
- size → double
-
Maximum width and height.
final
- sliverBox → Widget
-
Available on Widget, provided by the WidgetX extension
Adapts this box widget for use inside a CustomScrollView.no setter - trackColor → Color
-
Background arc color.
final
- waveColor → Color
-
Fill wave color.
final
Methods
-
absorbPointer(
{bool absorbing = true}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in an AbsorbPointer. -
aligned(
[AlignmentGeometry alignment = Alignment.center]) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in an Align. -
aspectRatio(
double ratio) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in an AspectRatio. -
background(
Color color) → Widget -
Available on Widget, provided by the WidgetX extension
Paintscolorbehind this widget. -
clipped(
[BorderRadius? radius]) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a ClipRRect widget with rounded corners. -
constrained(
{double minWidth = 0.0, double maxWidth = double.infinity, double minHeight = 0.0, double maxHeight = double.infinity}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a ConstrainedBox. -
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< GWaveSpinner> -
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
-
decorated(
Decoration decoration) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a DecoratedBox. -
expanded(
[int flex = 1]) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in an Expanded widget withflex. -
fitted(
[BoxFit fit = BoxFit.contain]) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a FittedBox widget withfit. -
flexible(
[int flex = 1, FlexFit fit = FlexFit.loose]) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Flexible widget withflexandfit. -
hero(
Object tag) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Hero. -
ignorePointer(
{bool ignoring = true}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in an IgnorePointer. -
inkWell(
{VoidCallback? onTap, VoidCallback? onLongPress, BorderRadius? borderRadius}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in anInkWell, which paints a ripple. Prefer this overonTapinside aMaterialsurface. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onTap(
VoidCallback onTap) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a GestureDetector withonTapcallback. -
opacity(
double value) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in an Opacity. -
paddingAll(
double value) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Padding widget with uniform padding. -
paddingOnly(
{double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Padding widget with specific edge padding. -
paddingSymmetric(
{double horizontal = 0.0, double vertical = 0.0}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Padding widget with symmetric padding. -
positioned(
{double? left, double? top, double? right, double? bottom, double? width, double? height}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Positioned, for use inside a Stack. -
rotated(
int quarterTurns) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a RotatedBox ofquarterTurns. -
scaled(
double scale) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a Transform.scale. -
sized(
{double? width, double? height}) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a SizedBox with the given dimensions. -
squared(
double side) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in a square SizedBox ofside. -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
tooltip(
String message) → Widget -
Available on Widget, provided by the WidgetX extension
Wraps this widget in aTooltip. -
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
-
visible(
bool isVisible, {Widget replacement = const SizedBox.shrink()}) → Widget -
Available on Widget, provided by the WidgetX extension
Shows this widget whenisVisible, otherwisereplacement.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited