curves property

List<CustomCurve>? curves
final

curves takes the list of CustomCurve to render the curves in LinearGauge

LinearGauge(
  curves: [
    CustomCurve(
      midPoint: 50,
      midHeight: 100,
    )
  ],
  rulers: const RulerStyle(
    rulerPosition: RulerPosition.bottom,
  ),
),

Implementation

final List<CustomCurve>? curves;