From 1525ab309da6358f3047fb513d899d0a566bb6d3 Mon Sep 17 00:00:00 2001 From: bulatova_karina Date: Wed, 2 Oct 2024 16:51:34 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index ae71d37..a32b95e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -30,19 +30,13 @@ class MyHomePage extends StatefulWidget { } class _MyHomePageState extends State { - int _counter = 0; - - void _incrementCounter() { - setState(() { - _counter++; - }); - } + final Color _color = Colors.pink.shade300; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - backgroundColor: Theme.of(context).colorScheme.inversePrimary, + backgroundColor: _color, title: Text(widget.title), ), body: const MyWidget(),