SpinRing constructor

const SpinRing({
  1. Key? key,
  2. required Color indicatorColor,
  3. Color? indicatorBackgroundColor,
  4. double lineWidth = 7.0,
  5. double size = 50.0,
  6. Duration duration = const Duration(milliseconds: 1200),
  7. AnimationController? controller,
})

Implementation

const SpinRing({
  Key? key,
  required this.indicatorColor,
  this.indicatorBackgroundColor,
  this.lineWidth = 7.0,
  this.size = 50.0,
  this.duration = const Duration(milliseconds: 1200),
  this.controller,
});