Skip to content

Commit

Permalink
finished iamshaunjp#11
Browse files Browse the repository at this point in the history
  • Loading branch information
masanag committed Apr 28, 2020
1 parent 5240a7a commit a4ed97c
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions myapp/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,22 @@ class Home extends StatelessWidget {
centerTitle: true,
backgroundColor: Colors.red,
),
body: Center(
child: Image.asset('assets/snowboarding_04.jpg'),
body: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Text('hello, world'),
FlatButton(
onPressed: (){},
color: Colors.amber,
child: Text('click me'),
),
Container(
color: Colors.cyan,
padding: EdgeInsets.all(30.0),
child: Text('inside container'),
),
],
),
floatingActionButton: FloatingActionButton(
onPressed: () {},
Expand Down

0 comments on commit a4ed97c

Please sign in to comment.