PerformanceUtils class

Performance utility functions for charts

Constructors

PerformanceUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

calculateBounds(List<double> values) → ({double max, double min})
Efficiently calculate min/max in a single pass
drawLinesBatch(Canvas canvas, List<({Offset end, Offset start})> lines, Paint paint) → void
Batch canvas operations for better performance
formatAxisValue(double value) String
Efficient string formatting for axis labels
preCalculateSteps(double start, double end, int count) List<double>
Pre-calculate step values for loops