YAxisStyle constructor

const YAxisStyle({
  1. bool enabled = false,
  2. bool showZeroLabel = true,
  3. int intermediateLabelCount = 3,
  4. double width = 64,
  5. TextStyle textStyle = const TextStyle(color: Colors.black87, fontSize: 12),
  6. String? title,
  7. YAxisLabelFormatter? labelFormatter,
  8. 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);