title property
Add the title to the top of the radial gauge.
The title is a type of GaugeTitle.
To specify title description to GaugeTitle.text property and title style to GaugeTitle.textStyle property.
Defaults to null
..
Also refer GaugeTitle.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
title: GaugeTitle(
text: 'Gauge Title',
textStyle: TextStyle(
color: Colors.red,
fontSize: 12,
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w400,
fontFamily: 'Roboto'
))
));
}
Implementation
final GaugeTitle? title;