knobBorderColor property
Specifies the knob border color
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
gaugeThemeData: SfGaugeThemeData(
knobBorderColor: Colors.purple
)
),
child: SfRadialGauge(
axes: <RadialAxis>[
RadialAxis(
radiusFactor: 0.8,
pointers: <GaugePointer>[
NeedlePointer(
knobStyle: KnobStyle(
borderWidth: 0.05,
),
needleStartWidth: 0,
needleEndWidth: 5,
)
],
),
],
)
),
)
);
}
Implementation
final Color knobBorderColor;