YAxisStyle constructor
const
YAxisStyle({
- bool enabled = false,
- bool showZeroLabel = true,
- int intermediateLabelCount = 3,
- double width = 64,
- TextStyle textStyle = const TextStyle(color: Colors.black87, fontSize: 12),
- String? title,
- YAxisLabelFormatter? labelFormatter,
- GridLinesStyle? gridLinesStyle = const GridLinesStyle(color: Color(0x22808080)),
Implementation
const YAxisStyle({
this.enabled = false,
this.showZeroLabel = true,
this.intermediateLabelCount = 3,
this.width = 64,
this.textStyle = const TextStyle(color: Colors.black87, fontSize: 12),
this.title,
this.labelFormatter,
this.gridLinesStyle = const GridLinesStyle(color: Color(0x22808080)),
}) : assert(intermediateLabelCount >= 0),
assert(width > 0);