Commit 55b12f30 authored by Tohap Maruli Pasaribu's avatar Tohap Maruli Pasaribu

SOLVED showSnackBar

parent fcf5541b
......@@ -253,14 +253,14 @@ class _Dashboard4State extends State<Dashboard4> {
(isSuccess) {
if (isSuccess) {
setState(() {});
Scaffold.of(this
ScaffoldMessenger.of(this
.context)
.showSnackBar(
const SnackBar(
content:
Text("Delete data success")));
} else {
Scaffold.of(this
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