We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5240a7a commit a4ed97cCopy full SHA for a4ed97c
myapp/lib/main.dart
@@ -16,8 +16,22 @@ class Home extends StatelessWidget {
16
centerTitle: true,
17
backgroundColor: Colors.red,
18
),
19
- body: Center(
20
- child: Image.asset('assets/snowboarding_04.jpg'),
+ body: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
21
+ crossAxisAlignment: CrossAxisAlignment.center,
22
+ children: <Widget>[
23
+ Text('hello, world'),
24
+ FlatButton(
25
+ onPressed: (){},
26
+ color: Colors.amber,
27
+ child: Text('click me'),
28
+ ),
29
+ Container(
30
+ color: Colors.cyan,
31
+ padding: EdgeInsets.all(30.0),
32
+ child: Text('inside container'),
33
34
+ ],
35
36
floatingActionButton: FloatingActionButton(
37
onPressed: () {},
0 commit comments