README.md
flutter_secure_storage_aurora
The Aurora implementation of flutter_secure_storage
.
Usage
This package is not an endorsed implementation of flutter_secure_storage
. Therefore, you have to include flutter_secure_storage_aurora
alongside flutter_secure_storage
as dependencies in your pubspec.yaml
file.
pubspec.yaml
dependencies:
flutter_secure_storage: ^8.0.0
flutter_secure_storage_aurora:
git:
url: https://gitlab.com/omprussia/flutter/flutter-community-plugins/flutter_secure_storage_aurora.git
ref: aurora-0.5.3
*.dart
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:flutter_secure_storage_aurora/flutter_secure_storage_aurora.dart';
FlutterSecureStorageAurora.setSecret('5872747ed1ceda363808efb8b2b18b20');
final storage = const FlutterSecureStorage();
const key = 'my_key';
const data = 'Something secret';
// Write value
await storage.write(key: key, value: data);
// Read value
String? value = await storage.read(key: key);
// Read all values
Map<String, String> allValues = await storage.readAll();
// Delete all
await storage.deleteAll();
Конвейеры
0 успешных
0 с ошибкой