From bfae1a2de1816f89b87851c5cb902e2e52ae8a15 Mon Sep 17 00:00:00 2001 From: Kaj Rusilowski <2020804@stud.hs-mannheim.de> Date: Tue, 9 Apr 2024 21:43:15 +0200 Subject: [PATCH] switched decrement and increment buttons --- lib/main.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 540230b..c2480c2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -81,18 +81,18 @@ class _MyHomePageState extends State { child: Align( alignment: Alignment.bottomLeft, child: FloatingActionButton( - onPressed: _incrementCounter, - tooltip: 'Increment', - child: const Icon(Icons.add), + onPressed: _decrementCounter, + tooltip: 'Decrement', + child: const Icon(Icons.remove), ), ), ), Align( alignment: Alignment.bottomRight, child: FloatingActionButton( - onPressed: _decrementCounter, - tooltip: 'Decrement', - child: const Icon(Icons.remove), + onPressed: _incrementCounter, + tooltip: 'Increment', + child: const Icon(Icons.add), ), ), ],