usable property

bool get usable

Whether glass may use its shader at all. False only in a browser without WebGL, where Flutter draws on the CPU and the shader would take seconds a frame; glass paints as a plain tint and rim there.

Implementation

static bool get usable => debugUsableOverride ?? hasGpu;