showSnackBar method

Implementation

ScaffoldFeatureController<SnackBar, SnackBarClosedReason> showSnackBar(
    String message) {
  return ScaffoldMessenger.of(this).showSnackBar(
    SnackBar(
      content: Text(message),
      behavior: SnackBarBehavior.floating,
    ),
  );
}