defaultHeight property
Calculates a default height based on existing points.
Will return null if there are no points.
Implementation
int? get defaultHeight => isEmpty ? null : (maxYValue! - minYValue! + penStrokeWidth * 2).toInt();
Calculates a default height based on existing points.
Will return null if there are no points.
int? get defaultHeight => isEmpty ? null : (maxYValue! - minYValue! + penStrokeWidth * 2).toInt();