borderRadius property
final
The radii of the border's corners.
If this property is null, then ToggleButtonTheme.of(context).borderRadius is used. If ToggleButtonsThemeData.borderRadius is also null, then the buttons default to non-rounded borders.
Implementation
final BorderRadius? borderRadius;