dataLabelTextStyle property

TextStyle? dataLabelTextStyle
final

Specifies the TextStyle for data label.

Widget build(BuildContext context) {
 return Scaffold(
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           mapsThemeData: SfMapsThemeData(
             dataLabelTextStyle: TextStyle(color: Colors.red)
           )
         ),
         child: SfMaps(),
       ),
     )
  );
}

Implementation

final TextStyle? dataLabelTextStyle;