Skip to content

Create Anjal Mohammed V #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions Anjal Mohammed V
Original file line number Diff line number Diff line change
@@ -0,0 +1,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(),
],
),
),
);
}
}