messageBox method
dynamic
messageBox(
- dynamic context,
- dynamic msg
Implementation
messageBox(context, msg) {
return ScaffoldMessenger.of(context).showSnackBar(SnackBar(
backgroundColor: const Color(0xffE6ECFE),
behavior: SnackBarBehavior.floating,
dismissDirection: DismissDirection.horizontal,
duration: const Duration(milliseconds: 1500),
content: Text(
msg,
style: const TextStyle(
fontFamily: 'gilori',
package: 'lycan_payment',
color: Color(0xff111828),
fontWeight: FontWeight.bold,
fontSize: 16),
)));
}