DotIndicator constructor

const DotIndicator({
  1. Key? key,
  2. required int currentIndex,
  3. required int length,
  4. Color? activeColor,
  5. double expandedSize = 10,
})

Creates Dot Indicator.

Implementation

const DotIndicator({
  Key? key,
  required this.currentIndex,
  required this.length,
  this.activeColor,
  this.expandedSize = 10,
}) : super(key: key);