All Projects → zubairehman → Portfolio Demo

zubairehman / Portfolio Demo

Licence: mit
A portfolio build by using flutter for web.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Portfolio Demo

Tech-Writing-Linktree
✨ tech writer portfolio in the style of linktree ✨
Stars: ✭ 26 (-88.39%)
Mutual labels:  portfolio, responsive
pichichi
Simple one page responsive portfolio template
Stars: ✭ 54 (-75.89%)
Mutual labels:  portfolio, responsive
Studorlio
Portfolio website template
Stars: ✭ 141 (-37.05%)
Mutual labels:  portfolio, responsive
Portfolio-Demo-1
A portfolio build by using flutter for web.
Stars: ✭ 74 (-66.96%)
Mutual labels:  portfolio, responsive
hyde-hyde
A cool theme inspired by spf13's Hyde theme
Stars: ✭ 234 (+4.46%)
Mutual labels:  portfolio, responsive
yourfolio
⭐ Super simple and responsive theme for your personal website on Hugo
Stars: ✭ 28 (-87.5%)
Mutual labels:  portfolio, responsive
Hugo Theme Console
A minimal, responsive and light theme for Hugo inspired by Linux console.
Stars: ✭ 143 (-36.16%)
Mutual labels:  portfolio, responsive
Anuraghazra.github.io
My Portfolio Site | Made With @Gatsbyjs
Stars: ✭ 191 (-14.73%)
Mutual labels:  portfolio
Photoviewer
🌀 A JS plugin to view images just like in Windows.
Stars: ✭ 203 (-9.37%)
Mutual labels:  responsive
Baguettebox.js
⚡ Simple and easy to use lightbox script written in pure JavaScript
Stars: ✭ 2,252 (+905.36%)
Mutual labels:  responsive
Vuepress Homepage
📄 Elegant & friendly homepage (bio, tech portfolio, resume, doc...) template with Markdown and VuePress
Stars: ✭ 186 (-16.96%)
Mutual labels:  portfolio
Toucheffect
UI-responsive touch effects for Xamarin.Forms
Stars: ✭ 193 (-13.84%)
Mutual labels:  responsive
Particleground Portfolio
A minimalistic particle theme landing page template. ⚛️
Stars: ✭ 204 (-8.93%)
Mutual labels:  portfolio
Argon Design System
Argon - Design System for Bootstrap 4 by Creative Tim
Stars: ✭ 2,307 (+929.91%)
Mutual labels:  responsive
Dalinhuang99.github.io
https://dalinhuang99.github.io
Stars: ✭ 211 (-5.8%)
Mutual labels:  portfolio
Gatsby Starter Morning Dew
🚀 A Gatsby theme/starter to build lightning-fast blog/websites
Stars: ✭ 186 (-16.96%)
Mutual labels:  responsive
Simple Dash
A simple, fully responsive Dashboard to forward to the services of your choice!
Stars: ✭ 222 (-0.89%)
Mutual labels:  responsive
Igrowl
Growl-like notifications with an emphasis on icons
Stars: ✭ 208 (-7.14%)
Mutual labels:  responsive
React Images
🌄 A mobile-friendly, highly customizable, carousel component for displaying media in ReactJS
Stars: ✭ 2,312 (+932.14%)
Mutual labels:  responsive
Create Portfolio
Create a personal website that showcases your work as a software developer.
Stars: ✭ 198 (-11.61%)
Mutual labels:  portfolio

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

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].