selectionColor property
Specifies the fill color for selected shape.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
mapsThemeData: SfMapsThemeData(
selectionColor: Colors.indigo[200]
)
),
child: SfMaps(),
),
)
);
}
Implementation
final Color? selectionColor;