splashBorderRadius property
final
Defines the clipping radius of splashes that extend outside the bounds of the tab.
This can be useful to match the BoxDecoration.borderRadius provided as indicator.
TabBar(
indicator: BoxDecoration(
borderRadius: BorderRadius.circular(40),
),
splashBorderRadius: BorderRadius.circular(40),
tabs: const <Widget>[
// ...
],
)
If this property is null, it is interpreted as BorderRadius.zero.
Implementation
final BorderRadius? splashBorderRadius;