Commit 52700c50 authored by Tohap Maruli Pasaribu's avatar Tohap Maruli Pasaribu

SOLVED showSnackBar

parent 0d71183e
......@@ -631,7 +631,7 @@ class _Dashboard4State extends State<Dashboard4> {
(isSuccess) {
if (isSuccess) {
setState(() {});
Scaffold.of(
ScaffoldMessenger.of(
this.context)
.showSnackBar(
const SnackBar(
......@@ -640,7 +640,7 @@ class _Dashboard4State extends State<Dashboard4> {
),
);
} else {
Scaffold.of(
ScaffoldMessenger.of(
this.context)
.showSnackBar(
const SnackBar(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment