flutter_key_value_file_storage

Last updated:

0 purchases

flutter_key_value_file_storage Image
flutter_key_value_file_storage Images
Add to Cart

Description:

flutter key value file storage

Flutter file storage #

An implementation for flutter file storage. For example keychain has a soft limit of 4kb. Using the file system instead we can store much larger content.
Usage #
import 'package:flutter_key_value_file_storage/flutter_key_value_file_storage.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';

// Create storage
final storage = FlutterKeyValueFileStorage(FlutterSecureStorage());

// Read value
final value = await storage.read<String>(key: key);

// Read all values
Map<String, String> allValues = await storage.readAll();

// Delete value
await storage.delete(key: key);

// Delete all
await storage.deleteAll();

// Write value
await storage.write(key: key, value: value);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.