material-components-flutter-adaptive icon indicating copy to clipboard operation
material-components-flutter-adaptive copied to clipboard

adaptive navigation not written to be performatn

Open fredgrott opened this issue 3 years ago • 1 comments

With the four functions returning widgets its not perormant as any time it updates it is force to update whole thing including widgets returned via functions rather then just the widgets that need updated.

Even though it might take a few hours to defange it via performance CPU cycles, it seems it be a worth while thing to do or complete.

I will do it internally as it makes some nice dev tech article to write. Not sure however when I get back to it to put in a code contribution to change it just yet.

fredgrott avatar Feb 06 '22 16:02 fredgrott

@fredgrott I've also noticed the unwanted behavior of rebuilds. This isn't ideal when the AdaptiveNavigationScaffold has a body widget that fetches data whenever initialized. I'm going to try refactoring and see what I can do!

willhlas avatar Apr 19 '22 19:04 willhlas