successSnack method

dynamic successSnack(
  1. dynamic msg, {
  2. dynamic title = "Success",
})

Implementation

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