Coder Social home page Coder Social logo

dhiwise-flutter-sample's Introduction

ticktter

Getting Started with Flutter πŸš€

Generated with ❀️ from DhiWise

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

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

Figma design guidelines for better accuracy

Read our guidelines to increase the accuracy of design conversion to code by optimizing Figma designs. https://docs.dhiwise.com/docs/Designguidelines/intro

App Navigations

Check your app's UI from the AppNavigation screen of your app.

Facebook Authentication Configuration

Steps:

  • Follow the steps on https://pub.dev/packages/flutter_login_facebook for Facebook login and only update app_id and client_token in your project.
  • For Android:
    • Update facebook_app_id and facebook_client_token in /android/app/src/main/res/values/strings.xml file.
  • For iOS:
    • ConfigureΒ Info.plistΒ (ios/Runner/Info.plist) file and update APP_ID and CLIENT_TOKEN.

Google Authentication Configuration

Steps:

  • Follow the steps on https://pub.dev/packages/google_sign_in for Google sign-in.
  • For iOS:
    • Download the GoogleService-Info.plist file. Drag and drop the downloaded file into the Runner subfolder and update Info.plist file.

Project Structure

After successful build, your application structure should look like this:

.
β”œβ”€β”€ 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

Support

If you have problems or questions go to our Discord channel, we will then try to help you as quickly as possible: https://discord.com/invite/rFMnCG5MZ7

dhiwise-flutter-sample's People

Contributors

journeyworker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.