Jayesh Maiyani
Jayesh Maiyani
I've implemented basic local saving facility using SharedPreferences. Using which U can store the qr data locally and retrive it whenever we want. ``` import 'dart:convert'; class Todo { String?...
this is what I'm doing when saving the info from qr ``` void _persistPreference(String text) async { SharedPreferences prefs = await SharedPreferences.getInstance(); if (!text.toLowerCase().contains('not yet scanned')) { if (prefs.containsKey('history')) {...
Okay. I thought the other way. Lets see what can be done.
And yes when i turened allowDuplicates on it is pushing infinite screens on navigation stack.