From c34aedb77d701e709eaff344faf51c9051fb3550 Mon Sep 17 00:00:00 2001 From: Aashes <87805252+Aashs@users.noreply.github.com> Date: Tue, 7 Dec 2021 21:13:08 +0530 Subject: [PATCH] Update main.dart On pressed arg is required --- myapp/lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/myapp/lib/main.dart b/myapp/lib/main.dart index 1c23047..852479d 100644 --- a/myapp/lib/main.dart +++ b/myapp/lib/main.dart @@ -10,6 +10,7 @@ void main() => runApp(MaterialApp( child: Text('hello, ninjas!'), ), floatingActionButton: FloatingActionButton( + onPressed: () {}, child: Text('click'), ), ),