LiquidGlassFallback class

Static override for the M3 fallback decision.

null (default) means "auto" — use platform detection. Set to true / false to force fallback on or off for all widgets. Mostly useful in tests and for designers reviewing the M3 mapping on iOS hardware.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

override bool?
Forces the fallback flag for every widget; null defers to platform.
getter/setter pair

Static Methods

isActive(BuildContext context) bool
Returns whether the current build should render the Material 3 fallback instead of the glass surface.