-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[Material] Use InkSparkle for splashFactory in ThemeData when useMaterial3 is true for Android non-web runtimes #99882
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
Conversation
|
not sure why one of the tests is failing, the case where it should be InkSparkle... |
darrenaustin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for doing this. Looks good, just a couple of suggestions below.
As I mentioned in the review, this is due to |
|
I'm curious: is the sparkle effect not part of material design, or why is it only applied on Android? |
|
Understood about the useMaterial3 flag and how it only responds to constructor, and not copy with. I modified the paragraphs that explain this, and added a list structure to add new properties that are affected by flag |
Co-authored-by: Pierre-Louis <[email protected]>
The current goal is to make a ripple in Flutter that is consistent with Android 12. I will try to find out a better answer for your question though. |
|
This pull request is not suitable for automatic merging in its current state.
|
|
I think some tests are failing due to tickers not being stopped when the widget containing a Is there currently a way to stop/cancel the async shader compilation once started? @zanderso @chinmaygarde @flar is there something that can be done with the Test exception: |
While shader compilation may be async, it isn't concurrent. And there is no way to stop a compilation once it has started on the UI thread. If shader compilation takes too long, the task to service the |
… useMaterial3 is true for Android non-web runtimes (flutter/flutter#99882)
… useMaterial3 is true for Android non-web runtimes (flutter/flutter#99882)
… useMaterial3 is true for Android non-web runtimes (flutter/flutter#99882)
… useMaterial3 is true for Android non-web runtimes (flutter/flutter#99882)
Description
InkSparkleforsplashFactorywhenuseMaterial3is true #99884 is closed.ThemeDatashould useInkSparkleforsplashFactorywhenuseMaterial3is true #99886Tests
Pre-launch Checklist
///).