SpinKit constructor

const SpinKit(
  1. SpinKitStyle style, {
  2. Key? key,
  3. Color? color,
  4. double size = 50,
  5. IndexedWidgetBuilder? itemBuilder,
  6. Duration duration = const Duration(milliseconds: 1200),
  7. AnimationController? controller,
})

Implementation

const SpinKit(
  this.style, {
  super.key,
  this.color,
  this.size = 50,
  this.itemBuilder,
  this.duration = const Duration(milliseconds: 1200),
  this.controller,
});