Flutter State Restoration - EVERY Flutter Developer Must Know | Flutter Tutorial
HTML-код
- Опубликовано: 8 сен 2024
- #flutter #fluttertutorial #mobileapp
In this Flutter Restoration Tutorial, we will be taking a look at implementing State Restoration in Flutter Applications. This is one of those features which adds to a great user Experience and hence every Flutter Developer should know about this. We will discuss Flutter Restoration ID, Restoration Scope, Restoration Buckets, RestorationMixin, and Restoration Manager and how they work together to provide an elegant solution for State Restoration in Flutter Apps.
Restoration Manager: api.flutter.de...
Navigator Restoration Flutter: api.flutter.de...
🔥 Auto-Generate Flutter Custom Paint Code TRY THIS FREE TOOL👇:
👉 Flutter Shape Maker: fluttershapema...
🔥 Learn About the Most Important Widgets in Flutter 👇:
👉 Widget Essentials Series: bit.ly/3GpfiYw
👉🏻 Product Hunt: www.producthun...
(Your UPVOTE Means a lot! 🙌)
If you find this video useful consider Supporting @RetroPortal Studio :
👉 Buy Me a Coffee: www.buymeacoff...
👉 Patreon: / retroportalstudio
Social Links @RetroPortal Studio :
👉 Twitter: / theretroportal
👉 Medium: / retroportalstudio
👉 Instagram: / retroportalstudio
👉 Patreon: / retroportalstudio
👉 GitHub: github.com/ret...
If you like the tutorial, please hit the LIKE and Subscribe button and also consider supporting me on Patreon or Buy Me a Coffee for More Flutter Tutorial on RetroPortal Studio.
Thank you for Watching! Happy Coding :)
If you find this video useful, consider Following me on:
👉 Twitter: twitter.com/theretroportal
👉 Medium: retroportalstudio.medium.com
👉 GitHub: github.com/retroportalstudio
👉 Instagram: instagram.com/retroportalstudio
👉 Patreon: www.buymeacoffee.com/theretroportal
what a great tutorial! this deserved more views and likes!
the best description of use of restoration Manager that I have found - really good
There is a question on how this differs from use of shared preferences (and presumably writing to SharedPrefs during the app). What I am able to find so far is that this returns directly to the route, but it may be that shared preferences (and a file for more data) would be used if more App data to restore. I would welcome other comments on this
It's a good practice to make all the variables as Restoration
It was awesome video. Got to learn something new. Thanks.
Just Amazing Introduction !
Thank you very much.
This is very helpful. Thank you sir.
Thank you> great content as usual
Hey, this is absolutely great, thank you for the video. Forgive me if this is a naive question, still just learning Flutter, but would you recommend applying this across all screens in an app?
No, use it very carefully cz all that data has to be loaded back. Use it in scenerios where starting from scratch would be a tedious job for user
@@RetroPortalStudio Thank you
🙌🙌🙌🙌 awesome video...
Bro create more videos on flutter desktop.
Thanks
is this restoration works even after the app got killed ?
Valeu!
Thank you so much 🙌
how can we implement restoration on list or listview?
nice!
how to callback using restorablepushnamed?
does the state get restored when you reboot the device?
Great tutorial btw..
Thank you ✌🏻😁 and this targets the restoration for apps in background only.
How is this different with shared preference sir ?
You should almost never use shared_preferences to store state.
Good day sir, i m new to flutter, i couldnt find restorationScopeId when i use GetMaterialApp, may i ask how can i do the same thing if i m using getX?
But i came to know that state Restoration is necessary in native programming, in case of Flutter it handles state Restoration.
if i am right plz marke as right
i am waiting ......for your comments
Can we use this with autoroute?
does this work in both android and ios?
when do I need this though? if I simply switch app my app doesn't lose its state. I use provider package but feel somehow it's unrelated.
i see its 2 years later but anyways... well, im having an issue where some customers are using old devices with low memory and between filling "forms" in my app, they need to copy text from 'notes' or another app and when switching back to my app, the application loses state and starts from scratch... that's "when we need this" :p
I m the first
Appreciate the Support 😍 Thank you ✌😁