From b387b19b37fe52355b557da22cef3ae503d5b894 Mon Sep 17 00:00:00 2001 From: Mandresy Randrianarinjaka Date: Thu, 6 Feb 2025 15:12:44 +0300 Subject: [PATCH] chore: remove comment 2# --- lib/main.dart | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 631ea5d..b50f196 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -39,15 +39,6 @@ class MyApp extends StatelessWidget { class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); - // This widget is the home page of your application. It is stateful, meaning - // that it has a State object (defined below) that contains fields that affect - // how it looks. - - // This class is the configuration for the state. It holds the values (in this - // case the title) provided by the parent (in this case the App widget) and - // used by the build method of the State. Fields in a Widget subclass are - // always marked "final". - final String title; @override @@ -59,11 +50,6 @@ class _MyHomePageState extends State { void _incrementCounter() { setState(() { - // This call to setState tells the Flutter framework that something has - // changed in this State, which causes it to rerun the build method below - // so that the display can reflect the updated values. If we changed - // _counter without calling setState(), then the build method would not be - // called again, and so nothing would appear to happen. _counter = _counter + 4; }); }