debugMorphSupportsBlending property

  1. @visibleForTesting
bool? debugMorphSupportsBlending
getter/setter pair

Test-only override for the Impeller probe in _supportsMorph.

A headless test run reports ImageFilter.isShaderFilterSupported == false — correctly, since there is no Impeller — which makes the morph path unreachable from a widget test and would leave the route wiring untested. Set this to true to exercise it, and back to null in a tearDown.

It stands in for the render-capability probe only; platformViewBackdrop and GlassQuality.minimal still disable the morph, so those fallbacks stay honest under the override.

Implementation

@visibleForTesting
static bool? debugMorphSupportsBlending;