-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathAnjal Mohammed V
More file actions
61 lines (59 loc) · 1.54 KB
/
Anjal Mohammed V
File metadata and controls
61 lines (59 loc) · 1.54 KB
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
import 'package:flutter/material.dart';
import 'package:portfolio_app/news/screens/newsHome.dart';
import 'sections/bioSection.dart';
import 'sections/contactSection.dart';
import 'sections/profileSection.dart';
import 'sections/skillSection.dart';
import 'sections/workSection.dart';
class Home extends StatelessWidget {
// Added divider
Widget Thicc({required double thick}) {
return Divider(
thickness: thick,
color: Colors.white,
);
}
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(fontFamily: 'Averta'),
home: Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text(
'My Portfolio',
style: TextStyle(
color: Colors.black,
),
),
backgroundColor: Colors.white,
actions: [
TextButton(
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => NewsHome()),
);
},
child: Text(
'News App',
style: Theme.of(context).textTheme.headline4,
),
),
],
),
body: ListView(
children: [
ProfileSection(),
Thicc(thick: 1),
SkillSection(),
BioSection(),
WorkSection(),
ContactSection(),
],
),
),
);
}
}