d_info

Creator: coderz1093

Last updated:

0 purchases

d_info Image
d_info Images

Languages

Categories

Add to Cart

Description:

d info

D'Info #
Flutter package for response info message. It's like bootstrap view but simple.
#Important Start From Version 0.2.0
This package there are 2 type how to use:

With GetX (GetMaterialApp) inside main

No need context


Notif


Without GetX (MaterialApp) inside main

Need context
Only for toast no need context


SnackBar
Dialog
Toast (Android, IOS)



Screenshot #












Usage #
With GetX (GetMaterialApp)
Notif
DInfo.notifError('Upload', "Fail upload image");
copied to clipboard

Without GetX (MaterialApp)
SnackBar
DInfo.snackBarError(context, 'Upload Failed');
DInfo.snackBarSuccess(context, 'Upload Success');
DInfo.snackBarNetral(context, 'Add to Cart');
DInfo.snackBarCustom(context, 'Upload Success');
DInfo.snackBarCustom(context, 'Upload Success', color: Colors.green);
DInfo.snackBarCustom(context, 'Upload Success', duration: const Duration(seconds: 2));
DInfo.closeSnackBar(context);
copied to clipboard
Dialog
bool? yes = await DInfo.dialogConfirmation(context,'Title','Content');
if (yes ?? false){
// execute yes
}

DInfo.dialogError(context, 'Sorry, you have no access');
DInfo.dialogSuccess(context, 'Download Success');
DInfo.dialogNetral(context, 'Add to Cart');
DInfo.closeDialog(context);
copied to clipboard
Toast
DInfo.toastError('Pick Color has Failed');

DInfo.closeToast();
copied to clipboard

Tutorial : #
Youtube: Watch
Support me for more feature & packages
Donate
Check my app : Visit
Check My Tutorial & Course : Watch

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.