barWidth property
double
get
barWidth
A candle's or bar's width.
Implementation
double get barWidth => math.max(1, math.min(spec.x.maxBarWidth ?? double.infinity, (slotWidth * 0.72).floorToDouble()));
A candle's or bar's width.
double get barWidth => math.max(1, math.min(spec.x.maxBarWidth ?? double.infinity, (slotWidth * 0.72).floorToDouble()));