sa_flutter_secure_storage_lego 1.0.2 copy "sa_flutter_secure_storage_lego: ^1.0.2" to clipboard
sa_flutter_secure_storage_lego: ^1.0.2 copied to clipboard

apply flitter_secure_storage to simple architecture framework

lego project pub package

sa_flutter_secure_storage_lego #

apply flutter_secure_storage under simple_architecture_framework.

Installation #

  1. open terminal in the lego project root directory, enter the following command for install cli. and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
  1. in terminal, enter the following command for add lego to project.
lego add sa_flutter_secure_storage_lego

Usage #

Check check = await CheckFlutterSecureStorage.get();
print(check.toMap());

check.s000 = "hello";

await CheckFlutterSecureStorage.upsert(check);

Check check2 = await CheckFlutterSecureStorage.get();
print(check2.toMap());