GPulseSpinner constructor

const GPulseSpinner({
  1. Key? key,
  2. Color? color,
  3. double size = 50.0,
  4. int pulseCount = 3,
  5. Duration duration = const Duration(milliseconds: 1500),
  6. IndexedWidgetBuilder? itemBuilder,
  7. AnimationController? controller,
  8. 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.');