Dot constructor

const Dot({
  1. Key? key,
  2. required int index,
  3. required Curve dotsCurve,
  4. Axis scrollDirection = Axis.horizontal,
})

Implementation

const Dot({
  Key? key,
  required this.index,
  required this.dotsCurve,
  this.scrollDirection = Axis.horizontal,
}) : super(key: key);