SmoothIndicator constructor

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

Default constructor

Implementation

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