Ruler.count constructor

const Ruler.count(
  1. DistanceUnit notchCount, {
  2. Axis axis = Axis.horizontal,
  3. RulerSide? notchSide,
  4. TextStyle? numberTextStyle,
  5. RulerSide? numberSide,
  6. double? numberSpacing,
  7. double? notchScaleFactor,
  8. Color? notchColor,
  9. bool? showBase,
  10. double? thickness,
  11. Key? key,
})

Implementation

const Ruler.count(
  DistanceUnit this.notchCount, {
  this.axis = Axis.horizontal,
  this.notchSide,
  this.numberTextStyle,
  this.numberSide,
  this.numberSpacing,
  this.notchScaleFactor,
  this.notchColor,
  this.showBase,
  this.thickness,
  super.key,
})  : _rulerType = _RulerType.count,
      notchWidth = null;