Skip to content
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

Create Anjal Mohammed V #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anjalmohammedv
Copy link

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(),
],
),
),
);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant