MainRendererStyle constructor

const MainRendererStyle({
  1. double candleWidth = 8.5,
  2. double candleLineWidth = 1.5,
  3. VerticalTextAlignment yAxisAlignment = VerticalTextAlignment.left,
  4. MainRendererColors colors = const MainRendererColors(),
  5. double fontSize = 10,
  6. EdgeInsets padding = const EdgeInsets.only(left: 5, right: 5, top: 22, bottom: 20),
})

Implementation

const MainRendererStyle({
  this.candleWidth = 8.5,
  this.candleLineWidth = 1.5,
  this.yAxisAlignment = VerticalTextAlignment.left,
  this.colors = const MainRendererColors(),
  super.fontSize = 10,
  super.padding = const EdgeInsets.only(left: 5, right: 5, top: 22, bottom: 20)
}) : super(colors: colors);