Skip to content

Commit 1d5adf9

Browse files
committed
Margins and padding done
1 parent 48a28db commit 1d5adf9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/main.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ class Home extends StatelessWidget {
1414
title: Text('My second application'),
1515
centerTitle: true,
1616
),
17-
body: Center(
18-
child: IconButton(
19-
onPressed: () {},
20-
icon: Icon(Icons.alternate_email),
21-
color: Colors.yellow)),
17+
body: Padding(
18+
child: Text('All over the world'),
19+
padding: EdgeInsets.all(29.0),
20+
),
2221
floatingActionButton: FloatingActionButton(
2322
child: Text('Click'),
2423
onPressed: () {},

0 commit comments

Comments
 (0)