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