shouldUseNativeControls property

bool get shouldUseNativeControls

Returns true if a widget whose native view is a standard AppKit or UIKit control should use it: on every supported macOS, where those controls predate Liquid Glass, and on iOS 26 or later. Styling that needs Liquid Glass keeps checking isMacOS26OrLater / isIOS26OrLater.

Implementation

static bool get shouldUseNativeControls =>
    !debugForceFallbacks && (isIOS26OrLater || Platform.isMacOS);