-
Notifications
You must be signed in to change notification settings - Fork 28.4k
TileMode.mirror/repeated not implementing correctly on web #45505
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
Comments
Verified: This is an issue with In case it's needed, the generating code is the above
|
Hi @chonghorizons |
Sure. Here you go:
|
We're looking for a solution, but on the Web it's not supported in canvas APIs. We are exploring alternatives. Stay tuned. |
I actually don't think this is a high priority. I was just confused for a while. The fastest temporary solution is just to throw a warning or error. |
Hi all |
Due to #46833 , moving to P3. |
Fixed via flutter/engine#22597 |
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 |
I was trying to test out the examples for TileMode in the DartPad experimental.
In using simple sample code, the TileMode is not working correctly. That is, when I use TileMode.mirror (or TileMode.repeated), I expect to get mirrored gradients in the sample code. Instead, I just get the last value repeated forever; i.e. like TileMode.clamp
Instead, I wanted to get things like in the api docs (https://api.flutter.dev/flutter/dart-ui/TileMode-class.html) that look like this:
Here is sample code that I ran here: https://dartpad.dartlang.org/experimental/new_embeddings_demo.html
The text was updated successfully, but these errors were encountered: