Skip to content

Project Packaging structure

Bhavik Makwana edited this page Apr 16, 2020 · 1 revision

Project Packaging structure:

  • model : A package that contains all of your POJOs or Should I say PODOs.:wink:

  • modules : A package in which your going to add all of your screens.

              - Onboarding    :   This contains all the screens that you are going to on board user,
                                      This can be splash screen, login flow, Walk-through.
                  - Login     :   Contains a login screen as name suggests.
    
              - Home          :   Your Main page on which user lands after auth.
                  - Widgets   :   If you got any `Custom Widgets` that aren't going to be used out side the scope
                                      you can declare them in this package.
    
  • store : A package in which we are going to store our MobX stores. You differentiate store in different packages as per feature.

  • utils : All of your utility stuff goes here.

  • values : This package is very special to me.:-) It contains a different files for assets, base_colors, imports. Strings file if you are not implementing localization for sometime. You can check out this file for more detail.

  • widgets : All of your custom widgets goes here that you are going to use throughout the project.

Clone this wiki locally