GPulseSpinner class

A loading spinner widget with expanding and fading pulse rings.

Inheritance
Available extensions

Constructors

GPulseSpinner({Key? key, Color? color, double size = 50.0, int pulseCount = 3, Duration duration = const Duration(milliseconds: 1500), IndexedWidgetBuilder? itemBuilder, AnimationController? controller, String? semanticsLabel})
Creates a pulse ring spinner.
const

Properties

centered → Widget

Available on Widget, provided by the WidgetX extension

Wraps this widget in a Center widget.
no setter
color → Color?
Pulse ring color. Defaults to active theme primary color.
final
controller → AnimationController?
Optional external animation controller.
final
duration → Duration
Duration for one full pulse cycle.
final
hashCode → int
The hash code for this object.
no setterinherited
itemBuilder → IndexedWidgetBuilder?
Optional builder for custom ring elements.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
pulseCount → int
Number of pulse rings (defaults to 3).
final
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
Diameter of the spinner surface.
final
sliverBox → Widget

Available on Widget, provided by the WidgetX extension

Adapts this box widget for use inside a CustomScrollView.
no setter

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

Paints color behind 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<GPulseSpinner>
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 with flex.
fitted([BoxFit fit = BoxFit.contain]) → Widget

Available on Widget, provided by the WidgetX extension

Wraps this widget in a FittedBox widget with fit.
flexible([int flex = 1, FlexFit fit = FlexFit.loose]) → Widget

Available on Widget, provided by the WidgetX extension

Wraps this widget in a Flexible widget with flex and fit.
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 an InkWell, which paints a ripple. Prefer this over onTap inside a Material surface.
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 with onTap callback.
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 of quarterTurns.
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 of side.
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 a Tooltip.
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 when isVisible, otherwise replacement.

Operators

operator ==(Object other) → bool
The equality operator.
inherited