SmoothIndicator constructor

const SmoothIndicator({
  1. Key? key,
  2. required double offset,
  3. required int count,
  4. required Size size,
  5. required PageController controller,
  6. int quarterTurns = 0,
  7. IndicatorEffect effect = const WormEffect(),
  8. OnDotClicked? onDotClicked,
})

Default constructor

Implementation

const SmoothIndicator({
  Key? key,
  required this.offset,
  required this.count,
  required this.size,
  required this.controller,
  this.quarterTurns = 0,
  this.effect = const WormEffect(),
  this.onDotClicked,
}) : super(key: key);