tooltipBorderRadius property Null safety

BorderRadiusGeometry tooltipBorderRadius
final

Specifies the border radius of the tooltip.

Widget build(BuildContext context) {
 return Scaffold(
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           mapsThemeData: SfMapsThemeData(
            tooltipBorderRadius: BorderRadiusDirectional.only(
             topEnd: Radius.elliptical(20, 20),
             bottomStart: Radius.elliptical(20, 20),
             ),
           ),
         ),
         child: SfMaps(),
       ),
     )
  );
}

See also:

Implementation

final BorderRadiusGeometry tooltipBorderRadius;