ScaleIntervalStyle constructor

const ScaleIntervalStyle({
  1. int scale = -1,
  2. required Color color,
  3. required double width,
  4. required double height,
})

Creates a ScaleIntervalStyle with the specified color, width, and height. Optionally, you can provide a scale to adjust the interval's visual representation.

The scale defaults to -1 (no scale applied), and the other properties are required.

Implementation

const ScaleIntervalStyle({
  this.scale = -1,
  required this.color,
  required this.width,
  required this.height,
});