From c62eb994d981da51f20f774f8aa88efa46685ec1 Mon Sep 17 00:00:00 2001 From: Mandresy Randrianarinjaka Date: Thu, 6 Feb 2025 16:14:12 +0300 Subject: [PATCH 1/2] style: Fix typo --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index e982a98..9727128 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -16,7 +16,7 @@ class MyApp extends StatelessWidget { colorScheme: ColorScheme.fromSeed(seedColor: Colors.red), useMaterial3: true, ), - home: const MyHomePage(title: 'Flutter Demo Home Page'), + home: const MyHomePage(title: 'Flutter test Home Page'), ); } } From de571226af25928feef0c0d10b9e015ea4bf91c8 Mon Sep 17 00:00:00 2001 From: Mandresy Randrianarinjaka Date: Thu, 6 Feb 2025 16:14:55 +0300 Subject: [PATCH 2/2] feat: Change counter value increment to * 2 --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 9727128..486bfb6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -35,7 +35,7 @@ class _MyHomePageState extends State { void _incrementCounter() { setState(() { - _counter = _counter + 4; + _counter = _counter * 2; }); }