toggledItemColor property Null safety

Color toggledItemColor
final

Fills the toggled legend item's icon and the respective shape or bubble by this color.

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

See also:

Implementation

final Color toggledItemColor;