markerColor property
Specifies the marker color
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
gaugeThemeData: SfGaugeThemeData(
markerColor: Colors.yellow
)
),
child: SfRadialGauge(
axes: <RadialAxis>[
RadialAxis(
radiusFactor: 0.8,
pointers: <GaugePointer>[
MarkerPointer(
markerHeight: 20,
markerWidth: 20,
markerType: MarkerType.triangle,
markerOffset: 17,
value: 80,
),
],
),
],
),
),
)
);
}
Implementation
final Color? markerColor;