indicatorBorderRadius property

double? indicatorBorderRadius
final

Optional override for the active indicator's corner radius.

The radius is resolved in priority order:

  1. Manual override (this value) — always wins.
  2. Capsule guard — if borderRadius ≥ 9999.0 the indicator also receives 9999.0, keeping the glass shader in true-capsule mode even during jelly-bloom expansion where the pill canvas grows beyond its rest size.
  3. Concentric math — otherwise (borderRadius − 2).clamp(0, 9999) so the indicator arcs nest concentrically inside the container.

Implementation

final double? indicatorBorderRadius;