Ruler.dynamic constructor

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

Implementation

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