Mirrored in Flutter Linear Gauge (SfLinearGauge)

16 Jul 20211 minute to read

The isMirrored property in SfLinearGauge mirrors all the Gauge elements in the SfLinearGauge. The following code sample demonstrates how to setting the isMirrored property.

  • DART
  • @override
      Widget build(BuildContext context) {
        return Center(
          child: SfLinearGauge(isMirrored: true)
        );
      }

    Mirror linear gauge

    Comparison for the mirrored and normal gauge

    The following screenshot provides a comparison for the mirrored and normal Linear Gauge.

    Mirrored linear gauge comparsion