transitionCornerRadius property

double? transitionCornerRadius
final

Continuous superellipse corner radius applied to clip the entire page surface (both background and child) during route push/pop transitions and interactive swipe-back gestures.

Matches native iOS _UIParallaxTransitionCardView behavior where the transitioning page's exposed corners are rounded with a continuous superellipse matching the display corner radius, and unclipped at rest (Clip.none) so steady-state rendering incurs zero clipping overhead.

When null (the default), inherits from an enclosing GlassPageTransitionClip, GlassPageRoute, or GlassNavigationStack on the same route if present, or defaults to GlassDefaults.pageTransitionCornerRadius (55.0).

Set to 0.0 to disable rounded page clipping during transitions.

Implementation

final double? transitionCornerRadius;