all_in_one_basic

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

all in one basic

All In One Basic Plugin #
All in one basic plugin for almost everything that a basic app required.
Getting Started #
Currently only working on Android.
Usage #
platformVersion:
await AllInOneBasic.platformVersion();
copied to clipboard
Toast:
await AllInOneBasic.showToast('Your message', 'Short'); // Use 'Short' or 'Long'
copied to clipboard
Share:
await AllInOneBasic.share('Select App'); // Use any argument of your choice
copied to clipboard
Check Internet:
await AllInOneBasic.internet().then((isInternet) {
if(isInternet){
// Your Code..
} else {
// Your Code..
}
});
copied to clipboard
SharedPreferences (Local Storage):
await AllInOneBasic.setSharedPreferencesString('key', 'value'); // Save string value
await AllInOneBasic.setSharedPreferencesInteger('key', 'value'); // Save integer value
await AllInOneBasic.setSharedPreferencesBoolean('key', 'value'); // Save boolean value

await AllInOneBasic.getSharedPreferencesString('key'); // Get string value
await AllInOneBasic.getSharedPreferencesInteger('key'); // Get integer value
await AllInOneBasic.getSharedPreferencesBoolean('key'); // Get boolean 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.