tooltipTextStyle property

TextStyle tooltipTextStyle
final

Specifies the textStyle for tooltip text.

Widget build(BuildContext context) {
 return Scaffold(
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           mapsThemeData: SfMapsThemeData(
             tooltipTextStyle: TextStyle(color: Colors.black,
             fontWeight: FontWeight.bold)
           )
         ),
         child: SfMaps(),
       ),
     )
  );
}

Implementation

final TextStyle tooltipTextStyle