-
Notifications
You must be signed in to change notification settings - Fork 27.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Regression] Bug in using a radial gradient to paint text #102947
Comments
Issue is reproducible on Steps to reproduce
The project is attached below for easy access. flutter doctor -v
|
This happens because Skia has deprecated the APIs for extracting the definition of an |
The other issue I created and linked above is not a dup of this issue. We can fix this issue with a quick gutting of some of the code in DlColorSource which will leave more issues for the Impeller pipeline. The other issue linked above is for tracking a better solution once this current problem is solved. |
I should have created a golden test to verify the output. The tests in this PR were all at the API level. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
When painting text using a radial gradient in the current beta of flutter (2.13.0-0.pre), the results are not as expected, as compared to what is produced by the current stable version (2.10.5). I believe the stable version is correct, and the beta version is wrong.
The results are consistent on both MacOS and Linux. That is to say, stable produces results believed to be correct on both, and beta produces results believed to be wrong on both.
Steps to Reproduce
Execute
flutter test test/flutter_bug_radial_gradient.dart
and look at theflutter_bug.png
image produced.Code sample
Logs
The text was updated successfully, but these errors were encountered: