borderRadius property

double borderRadius
final

Border radius of the segmented control.

Defaults to 9999.0 — a capsule that matches the iOS 26 UISegmentedControl appearance regardless of bar height. Set to a finite value (e.g. 16) to produce rounded-rectangle corners.

Implementation

final double borderRadius;