alertScrim property

Color get alertScrim

How far iOS 27 dims behind an alert.

Implementation

Color get alertScrim =>
    scrim.withValues(alpha: brightness == Brightness.dark ? 0.48 : 0.2);