mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Summary This PR improves the API documentation for ImageFilter.shader and isShaderFilterSupported by making the Impeller requirement more explicit and visible. What was changed Added an “Important” notice to clearly state that these APIs are only supported with Impeller. Updated the doc comments to front-load this detail instead of placing it later in the text. Added cross-reference notes explaining how isShaderFilterSupported relates to Impeller. Why this change is helpful Developers frequently run into confusion when using shader-based filters without realizing they require Impeller. This change makes the requirement obvious and easier to discover. Issue reference Fixes #178767