Navaron Bracke

fix small align issue in example app

@@ -23,8 +23,9 @@ class MyHome extends StatelessWidget { @@ -23,8 +23,9 @@ class MyHome extends StatelessWidget {
23 Widget build(BuildContext context) { 23 Widget build(BuildContext context) {
24 return Scaffold( 24 return Scaffold(
25 appBar: AppBar(title: const Text('Mobile Scanner Example')), 25 appBar: AppBar(title: const Text('Mobile Scanner Example')),
26 - body: Column(  
27 - mainAxisAlignment: MainAxisAlignment.center, 26 + body: Center(
  27 + child: Column(
  28 + mainAxisAlignment: MainAxisAlignment.spaceAround,
28 children: [ 29 children: [
29 ElevatedButton( 30 ElevatedButton(
30 onPressed: () { 31 onPressed: () {
@@ -100,6 +101,7 @@ class MyHome extends StatelessWidget { @@ -100,6 +101,7 @@ class MyHome extends StatelessWidget {
100 ), 101 ),
101 ], 102 ],
102 ), 103 ),
  104 + ),
103 ); 105 );
104 } 106 }
105 } 107 }