Closed fmwww closed 3 weeks ago
Anyone figure this out? I just installed the package today and immediately ran into this too
Sorry the delay, somehow I wasn't getting the new issues notifications.
Did you follow the Getting started section?
You need to do this before using the extension:
Future<void> main() async {
await SharedPreferencesToolsDebug.init();
runApp(const YourApp());
}
BTW, we plan to merge this extension to the shared_preferences
package, so you won't need to do this in the future.
You can check the open PR here.
I also just pushed the 1.1.0
version, so there is no need to add await SharedPreferencesToolsDebug.init();
anymore.