bubbleHoverColor property

Color? bubbleHoverColor
final

Specifies the color which should apply on the bubbles while hovering in the web platform.

By default, the transparency of your current bubble color will be altered and applied while hovering. This might be useful if you are having different color for each bubble.

However, if you set this property, this color will be commonly applied to the all the bubbles while hovering.

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

See also:

Implementation

final Color? bubbleHoverColor;