switched decrement and increment buttons
parent
5d5ae63c16
commit
bfae1a2de1
|
@ -81,18 +81,18 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
child: Align(
|
child: Align(
|
||||||
alignment: Alignment.bottomLeft,
|
alignment: Alignment.bottomLeft,
|
||||||
child: FloatingActionButton(
|
child: FloatingActionButton(
|
||||||
onPressed: _incrementCounter,
|
onPressed: _decrementCounter,
|
||||||
tooltip: 'Increment',
|
tooltip: 'Decrement',
|
||||||
child: const Icon(Icons.add),
|
child: const Icon(Icons.remove),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.bottomRight,
|
alignment: Alignment.bottomRight,
|
||||||
child: FloatingActionButton(
|
child: FloatingActionButton(
|
||||||
onPressed: _decrementCounter,
|
onPressed: _incrementCounter,
|
||||||
tooltip: 'Decrement',
|
tooltip: 'Increment',
|
||||||
child: const Icon(Icons.remove),
|
child: const Icon(Icons.add),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue