tooltipBorderRadius property
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:
- BorderRadius, for setting the corner radii.
- BorderRadiusDirectional, for setting the corner radii based on the text direction.
Implementation
final BorderRadiusGeometry tooltipBorderRadius;