sa_shared_preference_lego

Creator: coderz1093

Last updated:

0 purchases

sa_shared_preference_lego Image
sa_shared_preference_lego Images
Add to Cart

Description:

sa shared preference lego

sa_shared_preference_lego #
Shared preference under simple architecture lego framework.
Installation #

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
copied to clipboard

in terminal, enter the following command for add lego to project.

lego add sa_shared_preference_lego
copied to clipboard
Usage #
Check check = await CheckSharedPreferences.get();
print(check.toMap());

check.s000 = "hello";

await CheckSharedPreferences.upsert(check);

Check check2 = await CheckSharedPreferences.get();
print(check2.toMap());
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.

Related Products

More From This Creator