Indicator constructor

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

Creates an indicator.

Implementation

const Indicator({
  Key? key,
  this.size,
  this.color,
  this.border,
  this.position,
  this.child,
})  : assert(size == null || size >= 0),
      assert(position == null || 0 <= position && position <= 1),
      super(key: key);