toggledItemStrokeWidth property Null safety

double? toggledItemStrokeWidth
final

Stroke width for the toggled legend item's respective shape or bubble.

Defaults to 1.0.

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

Implementation

final double? toggledItemStrokeWidth;