DotIndicator constructor

const DotIndicator({
  1. Key? key,
  2. double? size,
  3. Color? color,
  4. double? position,
  5. BoxBorder? border,
  6. Widget? child,
})

Creates a dot indicator.

The size must be null or non-negative.

Implementation

const DotIndicator({
  Key? key,
  double? size,
  Color? color,
  double? position,
  this.border,
  this.child,
}) : super(
        key: key,
        size: size,
        color: color,
        position: position,
      );