shouldUseNativeGlass property

bool get shouldUseNativeGlass

Returns true if native Liquid Glass effects should be used.

This is true only on iOS 26+ or macOS 26+. Auto-initializes on first access.

Implementation

static bool get shouldUseNativeGlass => isIOS26OrLater || isMacOS26OrLater;