FluCommerce icon indicating copy to clipboard operation
FluCommerce copied to clipboard

A Flutter Minimal Ecommerce Application

πŸ”₯FluCommerce - A Flutter Ecommerce Application - UIπŸ”₯

Twitter Badge GitHub DaymaManish Gmail Badge

Instagram LinkedIn Buy Me A Coffee

Star⭐ the repo if you like to see more stuff on flutter πŸ˜‰.

Some Screenshots For You πŸ’–


Getting Started with Flutter πŸš€

Generated with ❀️ Manish Dayma

This is the documentation of Flutter Applications. It contains all the information you need to get started with and make changes to your App

Table of Contents

  • System Requirements
  • Figma design guidelines for better accuracy
  • App Navigations
  • Project Structure
  • How you can do code formatting?
  • How you can improve the readability of code?
  • Libraries and tools used
  • Support

System Requirements

Dart SDK Version 2.17.0 or greater. Flutter SDK Version 3.0.0 or greater.

Project Structure

.
β”œβ”€β”€ android                         - contains files and folders required for running the application on an Android operating system.
β”œβ”€β”€ assets                          - contains all images and fonts of your application.
β”œβ”€β”€ ios                             - contains files required by the application to run the dart code on iOS platforms.
β”œβ”€β”€ lib                             - Most important folder in the project, used to write most of the Dart code.
    β”œβ”€β”€ main.dart                   - starting point of the application
    β”œβ”€β”€ core
    β”‚   β”œβ”€β”€ app_export.dart         - contains commonly used file imports 
    β”‚   β”œβ”€β”€ constants               - contains all constants classes
    β”‚   β”œβ”€β”€ errors                  - contains error handling classes                  
    β”‚   β”œβ”€β”€ network                 - contains network related classes
    β”‚   └── utils                   - contains common files and utilities of project
    β”œβ”€β”€ data
    β”‚   β”œβ”€β”€ apiClient               - contains API calling methods 
    β”‚   β”œβ”€β”€ models                  - contains request/response models 
    β”‚   └── repository              - network repository
    β”œβ”€β”€ localization                - contains localization classes
    β”œβ”€β”€ presentation                - contains all screens and screen controllers
    β”‚   └── screens                 - contains all screens
    β”œβ”€β”€ routes                      - contains all the routes of application
    └── theme                       - contains app theme and decoration classes
    └── widgets                     - contains all custom widget classes

How you can do code formatting?

  • if your code is not formatted then run following command in your terminal to format code
    dart format .
    

How you can improve the readability of code?

Resolve the errors and warnings that are shown in the application.

Libraries and tools used

  • get - State management https://pub.dev/packages/get
  • connectivity_plus - For status of network connectivity https://pub.dev/packages/connectivity_plus
  • shared_preferences - Provide persistent storage for simple data https://pub.dev/packages/shared_preferences
  • cached_network_image - For storing internet image into cache https://pub.dev/packages/cached_network_image

Support

Buy Me A Coffee