IndicatorStyle constructor

const IndicatorStyle({
  1. double width = 20,
  2. double height = 20,
  3. Widget? indicator,
  4. EdgeInsets padding = const EdgeInsets.all(0),
  5. Color color = Colors.grey,
  6. IconStyle? iconStyle,
  7. double indicatorXY = 0.5,
  8. bool drawGap = false,
})

Implementation

const IndicatorStyle({
  this.width = 20,
  this.height = 20,
  this.indicator,
  this.padding = const EdgeInsets.all(0),
  this.color = Colors.grey,
  this.iconStyle,
  this.indicatorXY = 0.5,
  this.drawGap = false,
})  : assert(width >= 0,
          'The width must be provided and bigger than 0.0'),
      assert(height >= 0,
          'The height must be provided and bigger than 0.0');