isShaderFilterSupported property
Whether ImageFilter.shader is supported on the current backend.
Warning
This property will only return true when the Impeller rendering engine is enabled.
Attempting to create an ImageFilter.shader when this property is false will throw an UnsupportedError.
Implementation
static bool get isShaderFilterSupported => _impellerEnabled;