DotIndicator constructor

const DotIndicator({
  1. required int index,
  2. required bool isActive,
  3. required void onTap(
    1. int page
    ),
  4. Key? key,
  5. Color activeColor = Colors.blue,
  6. Color inactiveColor = Colors.grey,
})

Implementation

const DotIndicator({
  required this.index,
  required this.isActive,
  required this.onTap,
  super.key,
  this.activeColor = Colors.blue,
  this.inactiveColor = Colors.grey,
});