I saw "Storage" in the documentation. From what I understand, it is almost like an alternative to sharedpreference from the Android world.
How to use it and why do you need a widget in its implementation?
PageStorage is designed to track the status of widgets that may not always be created, for example, the position of the parallel list views in a view that is viewable (for example, when you have several tabs, each with its own list). For something like sharedpreference, you should probably use sharedpreference (via the plugin). See also https://github.com/flutter/flutter/issues/4757 or https://github.com/flutter/flutter/issues/3427 .
I'm not sure what the PageStorage class is for, but based on your notes, it looks like you're looking for a store of key values.
There is an error in the file related to providing a good plugin for such: https://github.com/flutter/flutter/issues/4757
Source: https://habr.com/ru/post/1264628/More articles:Swift - generate one-time UUID - uuidC - how will compiler optimization affect a for loop without a body? - optimizationprintf format specifier flags '0' for% p, correct or not? - c ++SyntaxError: You can use Class Properties only if the classProperties plugin is react-nativeHow to suppress dendrogram drawing, but still a cluster in the sea? - pythonJenkins Pipeline: How to write UTF-8 files using writeFile? - encodingunstable under the hood - cHow to specify line width in dendrograms of Seaborn clusters - pythonGiven a list of date ranges, find the date that has the maximum time - javaThe maximum occurrence of any event in the time range - javaAll Articles