-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Effect on Performance #71
Comments
Hello! It should work perfectly fine on desktop as well. There might be some missing widgets which is not implemented. It is easy to extend this library. Just make a pull request for new widgets and I will probably accept! |
Does this package lose the benefits of the const tables for widgets? E.g.:
According to flutter/dart docs, all const widgets are built into a table on compile time, and then looked up on rendering to ensure they never get rebuilt needlessly. Just wonder how this library affects rebuild count and framerates on fairly complex widget trees. |
I have this same concern. As far as I know, it's based on extensions, which is similar to having helper functions returning Widgets and this is not recommended by the Flutter team (video on Youtube). Is that right? For smaller apps it won't be a problem. My concern is how does it scale. |
I don't think the issue they discussed in the video is exactly applicable. It's about unnecessary rebuilds of features, which is solved by isolating features in widgets. Flutter will then only rebuild widgets where the parameters has changed. But the widgets may use styled_widget. That being said, again, it has to be measured and tested to see the actual impact of styled_widget |
Hey guys! I just discovered Styled_Widgets and I'd like to say Kudos! for building such a wonderful library.
I have 2, rather simple questions.
Thanks!
The text was updated successfully, but these errors were encountered: