Indicator.dot constructor

Indicator.dot({
  1. Key? key,
  2. double? size,
  3. Color? color,
  4. double? position,
  5. Border? border,
  6. Widget? child,
})

Creates a dot indicator.

See also:

Implementation

factory Indicator.dot({
  Key? key,
  double? size,
  Color? color,
  double? position,
  Border? border,
  Widget? child,
}) =>
    DotIndicator(
      size: size,
      color: color,
      position: position,
      border: border,
      child: child,
    );