legendTextStyle property

TextStyle? legendTextStyle
final

Specifies the text style of the legend.

Widget build(BuildContext context) {
 return Scaffold(
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           mapsThemeData: SfMapsThemeData(
             legendTextStyle: TextStyle(decoration:
             TextDecoration.underline)
           )
         ),
         child: SfMaps(),
       ),
     )
  );
}

Implementation

final TextStyle? legendTextStyle;