data_save 0.3.3 data_save: ^0.3.3 copied to clipboard
datasave for flutter and flutter web
data_save #
With this library, you can find your information in SharedPreferences and save browser cache Optimized for all operating systems
Getting Started #
Installing #
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await Utils.initDataSave();
runApp(MaterialApp(home: MyApp()));
}
use #
Save
DataSave.setString("key","my value");
Get Value
String? value=DataSave.getString("key");