ScaleIntervals constructor

const ScaleIntervals({
  1. required int begin,
  2. required int end,
  3. double scale = 1,
})

Creates a ScaleIntervals with the specified begin, end, and optional scale.

The begin and end define the range of the interval, while the scale allows for adjusting the size or behavior of the interval on the ruler. If not provided, the scale defaults to 1.

Implementation

const ScaleIntervals({
  required this.begin,
  required this.end,
  this.scale = 1,
});