numberFormat property

NumberFormat numberFormat
final

Specifies the number format.

Defaults to NumberFormat('#.##').

This snippet shows how to set number formatting for axis labels.


SfLinearGauge(
numberFormat: NumberFormat("0", "en_US"),
)

Implementation

final NumberFormat numberFormat;