Directory Structure
Last updated
Last updated
Contains all constant value for the app like app colors, app images, apis, app theme etc.
Data model are defined for easier data handling and manipulation.
Contains all the api requests to fetch fetch and send data to and fro the backend api.
Contains app services files for manipulating and interacting with different part of the part during use.
For example there is firebase.service.dart which provides the app with interaction with firebase cloud messaging service.
This folder contains all the translated values for the strings used throughout the app. Current the app is by default translated to support 7 different languages:
English
French
Spanish
German
Portuguese
Arabic
Korean (South Korea)
Contains all app utility functions like ui spacer for adding space within the app widgets.
Fuodz is using the Stacked State management package. All business logic code is stored in the view_models.
ViewModel manages the state of the View, business logic, and any other logic as required from user interaction. It does this by making use of the services.
Contains all screens/pages/views of the application. Example is LoginPage, RegisterPage and so on.
Views are grouped into pages and pages are grounded base on functionality. For example Login & Register Page are both grouped under the auth folder in the views/pages folder
Contains all UI widget used in the application like: Buttons, TextFields, BottomSheet views etc