Mirrored in Flutter Linear Gauge (SfLinearGauge)
21 May 20251 minute to read
The isMirrored
property in SfLinearGauge
allows you to mirror all the gauge elements. This feature is useful when you need to display the gauge in the opposite direction.
@override
Widget build(BuildContext context) {
return Center(
child: SfLinearGauge(isMirrored: true)
);
}
Comparison for the mirrored and normal gauge
The following screenshot provides a visual comparison between a mirrored Linear Gauge and a normal Linear Gauge.