successSnack method
dynamic
successSnack(
- dynamic msg, {
- dynamic title = "Success",
Implementation
successSnack(msg, {title = "Success"}) {
return Get.snackbar(
title,
msg,
backgroundColor: Colors.lightGreen.withOpacity(0.4),
);
}