success static method

dynamic success(
  1. BuildContext context,
  2. dynamic msg
)

Implementation

static success(BuildContext context, msg) {
  Flushbar(
    title: "Success",
    message:
        "$msg",
    duration: const Duration(seconds: 1),
    backgroundColor: Colors.green,
  ).show(context);
}