GPulseSpinner constructor
const
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.
Implementation
const GPulseSpinner({
super.key,
this.color,
this.size = 50.0,
this.pulseCount = 3,
this.duration = const Duration(milliseconds: 1500),
this.itemBuilder,
this.controller,
this.semanticsLabel,
}) : assert(size > 0, 'size must be greater than zero.'),
assert(pulseCount > 0, 'pulseCount must be greater than zero.');