0 purchases
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.