GlassTesting class abstract final

Pins the device facts the package reads, for widget tests.

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 Methods

reset() → void
Restores the package's defaults: the live environment and shader loading.
setUp({TargetPlatform? platform, int? iosMajorVersion, bool shaderSupported = true, bool reduceTransparency = false}) → void
Fixes the environment for the test that follows, and stops the shader assets loading (they do not load under flutter test).