Commit f8e46b5a authored by Budi Prasetyo's avatar Budi Prasetyo

a

parent ea7b614f
...@@ -167,11 +167,11 @@ class _Dashboard3State extends State<Dashboard3> { ...@@ -167,11 +167,11 @@ class _Dashboard3State extends State<Dashboard3> {
(isSuccess) { (isSuccess) {
if (isSuccess) { if (isSuccess) {
setState(() {}); setState(() {});
Scaffold.of(this.context).showSnackBar( ScaffoldMessenger.of(this.context).showSnackBar(
const SnackBar( const SnackBar(
content: Text("Input Data success"))); content: Text("Input Data success")));
} else { } else {
Scaffold.of(this.context).showSnackBar( ScaffoldMessenger.of(this.context).showSnackBar(
const SnackBar( const SnackBar(
content: Text("Input Data failed!!!"))); content: Text("Input Data failed!!!")));
} }
......
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