cornerRadius property

double? cornerRadius
final

Continuous superellipse corner radius applied while transitioning.

When null (the default), inherits from an enclosing GlassPageTransitionClip or GlassPageRoute on the same route if present, or resolves adaptively via resolveDisplayCornerRadius to match the host device's physical display corner radius (e.g. 62.0 pt on iPhone 16/17/18 Pro & Pro Max, 55.0 pt on Dynamic Island iPhones, 47.33 pt on Notch iPhones, 18.0 pt on rounded-screen iPads, and GlassDefaults.pageTransitionCornerRadius (55.0) as fallback).

Set to 0.0 to disable rounded clipping.

Implementation

final double? cornerRadius;