Skip to content

Mystic-Trooper/Red-Days

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Days


Walkthrough github help


Getting Started

The Boilerplate contains the minimal implementation required to create a basic flutter project.

Features:

  • Login
  • Sign Up
  • Home Screen (Feed)
  • Profile (Manage Users Profile)

Libraries & Tools Used

Folder Structure

Here is the core folder structure which flutter provides.

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

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

assets/
|-fonts/
|-images/
lib/
|- Model/
|- Provider/
|- Screen/
|- widgets/
|- main_properties/
|- main.dart

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

1- Model - Basic structure of objects used in application

2- Provider - Contains the State management for the project to connect the reactive data of your application with the UI, also includes functionality for CRUD operations from the backend.

3- screen — Contains all the ui of your project, contains sub directory for each screen.

  Naming Convention:  screens/Screen_name.dart

4- widgets — Contains the common widgets for your applications. For example, Button, TextField etc. By refactoring split widgets from screen.dart file

  Naming Convention:  widgets/Screen_name/widget_name.dart

5- main_properties
    5.1- routes.dart — This file contains all the routes for your application.
    5.2- theme.dart - This file contains basic theme for your application.

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

Stuck while building?

  • Create issue with error logs and code having that error
  • Share the code using gist

Backend

1. Firebase Storgae: For storing images.
2. Firebase auth service: For email authentication.

Show Some Love by staring the repo!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages