onLabelCreated property

ValueChanged<AxisLabelCreatedArgs> onLabelCreated
final

The callback that is called when an axis label is created.

The RadialAxis passes the AxisLabelCreatedArgs to the callback is used to change text value and rotate the text based on angle.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
          labelCreated: _handleAxisLabelCreated,
           )]
       ));
}

  void _handleAxisLabelCreated(AxisLabelCreatedArgs args){

Implementation

final ValueChanged<AxisLabelCreatedArgs> onLabelCreated