From ccbec518db250eb3e297a4cd2c6581cf244ff8c3 Mon Sep 17 00:00:00 2001 From: anjalmohammedv <87421015+anjalmohammedv@users.noreply.github.com> Date: Wed, 20 Oct 2021 11:05:03 +0530 Subject: [PATCH] Create Anjal Mohammed V --- Anjal Mohammed V | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Anjal Mohammed V diff --git a/Anjal Mohammed V b/Anjal Mohammed V new file mode 100644 index 0000000..7a10087 --- /dev/null +++ b/Anjal Mohammed V @@ -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(), + ], + ), + ), + ); + } +}