ScaleIntervalStyle constructor
const
ScaleIntervalStyle({})
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,
});