From 3e684826078b7c0df4b6ff2b29a80acaca194c5d Mon Sep 17 00:00:00 2001 From: Nicolas Gruber Date: Thu, 23 Feb 2023 14:56:34 +0100 Subject: [PATCH] removed unnecessary code --- lib/home.dart | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/home.dart b/lib/home.dart index 2806320..7435960 100644 --- a/lib/home.dart +++ b/lib/home.dart @@ -23,20 +23,6 @@ class _MyHomePageState extends State { _selectedIndex = index; }); } - - int _counter = 0; - - 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++; - }); - } - void setLogin(bool value) { setState(() { login = value;