All Projects → zubairehman → Portfolio-Demo-1

zubairehman / Portfolio-Demo-1

Licence: MIT license
A portfolio build by using flutter for web.

Programming Languages

dart
5743 projects
HTML
75241 projects

Projects that are alternatives of or similar to Portfolio-Demo-1

My-Alternate-Portfolio-Website
Portfolio Website generated using Jekyll, Sass, and Gulp.js, to showcase my web presence, résumé, story, & featured projects with a Particle.js aligned theme.
Stars: ✭ 127 (+71.62%)
Mutual labels:  portfolio, portfolio-template
Developerfolio
🚀 Software Developer Portfolio Template that helps you showcase your work and skills as a software developer.
Stars: ✭ 2,814 (+3702.7%)
Mutual labels:  portfolio, portfolio-template
Devportfolio
A lightweight, customizable single-page personal portfolio website template built with JavaScript and Sass
Stars: ✭ 3,582 (+4740.54%)
Mutual labels:  portfolio, portfolio-template
ParticleGround-Portfolio
A minimalistic particle theme landing page template. ⚛️
Stars: ✭ 335 (+352.7%)
Mutual labels:  portfolio, portfolio-template
pichichi
Simple one page responsive portfolio template
Stars: ✭ 54 (-27.03%)
Mutual labels:  portfolio, responsive
stringify.me
Quick and Easy Profiles (No Login Required)
Stars: ✭ 52 (-29.73%)
Mutual labels:  portfolio, portfolio-template
Hugo Theme Console
A minimal, responsive and light theme for Hugo inspired by Linux console.
Stars: ✭ 143 (+93.24%)
Mutual labels:  portfolio, responsive
rajaprerak.github.io
Personal Portfolio Website
Stars: ✭ 188 (+154.05%)
Mutual labels:  portfolio, portfolio-template
glassFolio
Developer Portfolio Template in Glassmorphism UI
Stars: ✭ 61 (-17.57%)
Mutual labels:  portfolio, portfolio-template
flutter responsive tabs
Flutter Responsive Tabs Demo
Stars: ✭ 43 (-41.89%)
Mutual labels:  responsive, flutter-web
Dopefolio
Dopefolio 🔥 - Portfolio Template for Developers 🚀
Stars: ✭ 2,047 (+2666.22%)
Mutual labels:  portfolio, portfolio-template
Portfolio
A responsive portfolio app made with flutter web.
Stars: ✭ 43 (-41.89%)
Mutual labels:  portfolio, flutter-web
opPortfolio
A clean portfolio template made with ReactJS.
Stars: ✭ 29 (-60.81%)
Mutual labels:  portfolio, portfolio-template
harshhhdev.github.io
Harsh Singh's personal blog and portfolio ⚡ built with Next.js
Stars: ✭ 23 (-68.92%)
Mutual labels:  portfolio, portfolio-template
fendi
Fendi Women's Lookbook created with Flutter
Stars: ✭ 18 (-75.68%)
Mutual labels:  portfolio, flutter-web
Studorlio
Portfolio website template
Stars: ✭ 141 (+90.54%)
Mutual labels:  portfolio, responsive
DeveloperFolio
Flutter web - DeveloperFolio template
Stars: ✭ 143 (+93.24%)
Mutual labels:  portfolio, flutter-web
portfolio
The portfolio site for JFK.DEV, built with Flutter.
Stars: ✭ 56 (-24.32%)
Mutual labels:  portfolio, flutter-web
Portfolio Demo
A portfolio build by using flutter for web.
Stars: ✭ 224 (+202.7%)
Mutual labels:  portfolio, responsive
website
Fully responsive website built with NextJS, React and Fluent UI, with the aim of providing services and access to all groups of didactic courses and general purposes to students of the University of Milan.
Stars: ✭ 29 (-60.81%)
Mutual labels:  responsive, responsive-web-design

Portfolio

A portfolio build by using flutter for web.

Demo

How to Create and Deploy

Follow the links below to learn more about how to create and deploy web applications in flutter.

How to Use

Step 1:

Download or clone this repo by using the link below:

https://github.com/zubairehman/Portfolio-Demo-1.git

Step 2:

Go to project root and execute the following command in console to get the required dependencies:

flutter pub get 

Step 3:

To use the Flutter SDK with the flutter_web preview make sure you have upgraded Flutter to at least v1.5.4 by running flutter upgrade from your machine. Follow the link to learn more about how to configure flutter for web: https://medium.com/@zubairehman.work/flutter-for-web-c75011a41956

Step 4:

To run this application simply type in the following command:

flutter packages pub global run webdev serve

Folder Structure

Here is the core folder structure which flutter provides.

flutter-app/
|- android
|- build
|- ios
|- lib
|- test

Here is the folder structure we have been using in this project

lib/
|- constants/
|- ui/
|- utils/
|- widgets/
|- main.dart

Now, lets dive into the lib folder which has the main code for the application.

1- constants - All the application level constants are defined in this directory with-in their respective files. This directory contains the constants for `theme`, `dimentions`, `api endpoints`, `preferences` and `strings`.
2- ui — Contains all the ui of your project, contains sub directory for each screen.
3- util — Contains the utilities/common functions of your application.
4- widgets — Contains the common widgets for your applications. For example, Button, TextField etc.
5- main.dart - This is the starting point of the application. All the application level configurations are defined in this file i.e, theme, routes, title, orientation etc.

Constants

This directory contains all the application level constants. A separate file is created for each type as shown in example below:

constants/
|- assets.dart
|- fonts.dart
|- strings.dart
|- text_styles.dart

UI

This directory contains all the ui of your application. Each screen is located in a separate folder making it easy to combine group of files related to that particular screen. All the screen specific widgets will be placed in widgets directory as shown in the example below:

ui/
|- login
   |- login_screen.dart
   |- widgets
      |- login_form.dart
      |- login_button.dart

Utils

Contains the common file(s) and utilities used in a project. The folder structure is as follows:

utils/
|- encryption
   |- xxtea.dart
|- date
  |- date_time.dart

Widgets

Contains the common widgets that are shared across multiple screens. For example, Button, TextField etc.

widgets/
|- app_icon_widget.dart
|- empty_app_bar.dart
|- progress_indicator.dart

Main

This is the starting point of the application. All the application level configurations are defined in this file i.e, theme, routes, title, orientation etc.

import 'package:flutter_web/material.dart';
import 'package:portfolio/ui/home.dart';

import 'package:portfolio/utils/screen/screen_utils.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {

    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
          brightness: Brightness.light,
          primaryColorBrightness: Brightness.light,
          accentColorBrightness: Brightness.light
      ),
      home: MyAppChild(),
    );
  }
}

class MyAppChild extends StatefulWidget {

  @override
  _MyAppChildState createState() => _MyAppChildState();
}

class _MyAppChildState extends State<MyAppChild> {
  @override
  Widget build(BuildContext context) {
    // instantiating ScreenUtil singleton instance, as this will be used throughout
    // the app to get screen size and other stuff
    ScreenUtil.instance = ScreenUtil.getInstance()..init(context);
    return HomePage();
  }
}

Thanks

If you liked my work, don’t forget to star the repo to show your support.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].