Flutter State Restoration - EVERY Flutter Developer Must Know | Flutter Tutorial

  Рет қаралды 18,505

RetroPortal Studio

RetroPortal Studio

2 жыл бұрын

#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.dev/flutter/servi...
Navigator Restoration Flutter: api.flutter.dev/flutter/widge...
🔥 Auto-Generate Flutter Custom Paint Code TRY THIS FREE TOOL👇:
👉 Flutter Shape Maker: fluttershapemaker.com
🔥 Learn About the Most Important Widgets in Flutter 👇:
👉 Widget Essentials Series: bit.ly/3GpfiYw
👉🏻 Product Hunt: www.producthunt.com/posts/flu...
(Your UPVOTE Means a lot! 🙌)
If you find this video useful consider Supporting @RetroPortal Studio :
👉 Buy Me a Coffee: www.buymeacoffee.com/theretro...
👉 Patreon: / retroportalstudio
Social Links @RetroPortal Studio :
👉 Twitter: / theretroportal
👉 Medium: / retroportalstudio
👉 Instagram: / retroportalstudio
👉 Patreon: / retroportalstudio
👉 GitHub: github.com/retroportalstudio
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 :)

Пікірлер: 34
@RetroPortalStudio
@RetroPortalStudio 2 жыл бұрын
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
@lunaRdeltaY
@lunaRdeltaY 2 жыл бұрын
what a great tutorial! this deserved more views and likes!
@nipunshah1373
@nipunshah1373 2 жыл бұрын
Just Amazing Introduction !
@khanisrarahmedalihusain
@khanisrarahmedalihusain 2 жыл бұрын
It was awesome video. Got to learn something new. Thanks.
@md.ruhulamin7963
@md.ruhulamin7963 2 жыл бұрын
This is very helpful. Thank you sir.
@youdube1203
@youdube1203 2 жыл бұрын
Thank you> great content as usual
@officialismailshah
@officialismailshah 2 жыл бұрын
🙌🙌🙌🙌 awesome video...
@piyushbhatnagar4735
@piyushbhatnagar4735 Жыл бұрын
It's a good practice to make all the variables as Restoration
@garagumgaragum6161
@garagumgaragum6161 Жыл бұрын
Thank you very much.
@hashankannangara8723
@hashankannangara8723 2 жыл бұрын
Thanks
@derekdavidson6997
@derekdavidson6997 Жыл бұрын
the best description of use of restoration Manager that I have found - really good
@derekdavidson6997
@derekdavidson6997 Жыл бұрын
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
@faizulla5838
@faizulla5838 2 жыл бұрын
nice!
@althafaralijaffarali1803
@althafaralijaffarali1803 2 жыл бұрын
Bro create more videos on flutter desktop.
@ozzfelipe
@ozzfelipe 2 жыл бұрын
Valeu!
@RetroPortalStudio
@RetroPortalStudio 2 жыл бұрын
Thank you so much 🙌
@kahustone7347
@kahustone7347 2 жыл бұрын
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?
@RetroPortalStudio
@RetroPortalStudio 2 жыл бұрын
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
@kahustone7347
@kahustone7347 2 жыл бұрын
@@RetroPortalStudio Thank you
@SaitamaMixed
@SaitamaMixed 3 ай бұрын
is this restoration works even after the app got killed ?
@sridharmarella8581
@sridharmarella8581 2 жыл бұрын
Can we use this with autoroute?
@priyankshir3074
@priyankshir3074 2 жыл бұрын
how can we implement restoration on list or listview?
@Yudos100
@Yudos100 Жыл бұрын
how to callback using restorablepushnamed?
@thomasmabika7291
@thomasmabika7291 2 жыл бұрын
does the state get restored when you reboot the device? Great tutorial btw..
@RetroPortalStudio
@RetroPortalStudio 2 жыл бұрын
Thank you ✌🏻😁 and this targets the restoration for apps in background only.
@Andrew-px9fj
@Andrew-px9fj Жыл бұрын
does this work in both android and ios?
@lunaRdeltaY
@lunaRdeltaY 2 жыл бұрын
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?
@ahmadmuizzuddin296
@ahmadmuizzuddin296 2 жыл бұрын
How is this different with shared preference sir ?
@RetroPortalStudio
@RetroPortalStudio 2 жыл бұрын
You should almost never use shared_preferences to store state.
@akhtarshah2816
@akhtarshah2816 2 жыл бұрын
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
@glowiever
@glowiever 2 жыл бұрын
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.
@v.valente
@v.valente Ай бұрын
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
@Liv_Life
@Liv_Life 2 жыл бұрын
I m the first
@RetroPortalStudio
@RetroPortalStudio 2 жыл бұрын
Appreciate the Support 😍 Thank you ✌😁
Top 10 Widgets every Flutter Developer should know!
17:17
RetroPortal Studio
Рет қаралды 281 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 752 М.
How to Communicate with REST APIs in Flutter
1:06:12
The Flutter Factory
Рет қаралды 16 М.
Top 70 Flutter Tips, Widgets & Packages
16:22
Flutter Mapp
Рет қаралды 126 М.
Flutter State Management - The Grand Tour
14:07
Fireship
Рет қаралды 239 М.
When, why, and how to multithread in Flutter
15:10
Flutter
Рет қаралды 62 М.
Avoid using StatefullWidget!
3:50
Codrut Erdei
Рет қаралды 8 М.
Flutter - Handling Application Lifecycle | Flutter Tutorial
8:02
RetroPortal Studio
Рет қаралды 26 М.
Best 30 Flutter Widgets, Packages & Tips
5:11
Flutter Mapp
Рет қаралды 119 М.
Provider 📱 Simple State Management • Flutter Tutorial
5:48