labelFormat property

String Function(double value)? labelFormat
final

Custom label format function. Receives the clamped value (0.0–1.0). When provided, overrides label and the default percentage display.

Implementation

final String Function(double value)? labelFormat;