showSnackBar function

dynamic showSnackBar (
  1. String message,
  2. BuildContext context
)

Implementation

showSnackBar(String message, BuildContext context) =>
    Scaffold.of(context).showSnackBar(SnackBar(
      content: Text(message),
      behavior: SnackBarBehavior.floating,
      shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(15)),
    ));