vyuh_plugin_storage_secure
FlutterSecureStoragePlugin implements string persistence through flutter_secure_storage. Use the secureStorage slot in PluginDescriptor and consult the package setup for each target platform.
How the pieces fit together
Choose a declaration
FlutterSecureStoragePlugin
A secure storage plugin implementation using flutter_secure_storage.
class FlutterSecureStoragePlugin extends SecureStoragePlugin with InitOncePluginDirectly declared public members:
FlutterSecureStoragePlugin({this._androidOptions, this._iOSOptions, this._webOptions, this._macOSOptions, this._linuxOptions, this._windowsOptions});Creates a new instance of FlutterSecureStoragePlugin with optional platform-specific options from flutter_secure_storage, which this package re-exports. Platforms without options use the package defaults.
Future<void> initOnce();Future<String?> read(String key);Reads a value from secure storage.
Future<String?> write(String key, dynamic value);Writes a value to secure storage.
Future<bool> has(String key);Checks if a key exists in secure storage.
Future<bool> delete(String key);Deletes a value from secure storage.
Future<void> disposeOnce();Releases the plugin. Stored values stay on the device; using the plugin again needs another init.