Skip to content

Commit

Permalink
added image from networkd
Browse files Browse the repository at this point in the history
  • Loading branch information
anoobbava committed Jan 6, 2020
1 parent 22e41e3 commit 2f5898d
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,22 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xff388E3C),
body: Center(
child: Text(
'Welcome My Dear',
style: TextStyle(
fontSize: 40.0, color: Colors.white, fontFamily: 'Brush font'),
body: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Padding(
padding: EdgeInsets.symmetric(horizontal: 30.0, vertical: 20.0),
child: Text(
'Welcome My Dear',
style: TextStyle(
fontSize: 40.0,
color: Colors.white,
fontFamily: 'Brush font'),
),
),
Image.network('https://i.picsum.photos/id/9/250/250.jpg'),
],
),
),
);
Expand Down

0 comments on commit 2f5898d

Please sign in to comment.