IndicatorModel constructor

const IndicatorModel({
  1. required double width,
  2. required double height,
  3. required double spaceBetween,
})

Used for non-animated indicators

Implementation

const IndicatorModel({
  required double width,
  required double height,
  required double spaceBetween,
})   : _height = height,
      _width = width,
      _widthAnimation = width,
      _heightAnimation = height,
      _paddingAnimation = spaceBetween,
      _padding = spaceBetween;