onLabelCreated property

ValueChanged<AxisLabelCreatedArgs>? onLabelCreated
final

Callback that gets triggered when an axis label is created.

The RadialAxis passes the AxisLabelCreatedArgs to the callback 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

//    if(args.text == '100'){
//      args.text = 'Completed';
//      args.canRotate = true;
//    }
//  }
/// ```
final ValueChanged<AxisLabelCreatedArgs>? onLabelCreated;