forked from dsckiet/flutter-bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
day5.dart
77 lines (75 loc) · 2.1 KB
/
day5.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: SafeArea(
child: Scaffold(
body: Center(
child: Column(
children: <Widget>[
Text(
'KIET',
style: TextStyle(
fontSize: 52.0,
fontWeight: FontWeight.bold,
color: Colors.blue,
),
),
Text(
'GROUP OF INSTITUTIONS',
style: TextStyle(
fontSize: 16.0,
color: Colors.blue,
fontWeight: FontWeight.bold,
),
),
SizedBox(
height: 12.0,
width: double.infinity,
child: Container(
color: Colors.red,
child: Text(
'Shaping your dreams',
style: TextStyle(
color: Colors.white,
fontSize: 8.0,
),
textAlign: TextAlign.center,
),
),
),
SizedBox(
height: 8.0,
),
Image(
image: NetworkImage(
'https://www.rd.com/wp-content/uploads/2019/06/20190325_RD.comHEADSHOT_Ashley1425.jpg'),
height: 280.0,
width: 180.0,
),
Text(
'Ashley',
style: TextStyle(
fontSize: 24.0,
),
),
Row(
children: <Widget>[
Icon(
Icons.email,
),
Text('[email protected]'),
],
),
],
),
),
),
),
);
}
}