> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/flutter-app/directory-structure.md).

# Directory Structure

![](/files/-MWFKvG3un6ZlOQDnNp6)

### Constants

Contains all constant value for the app like **app colors**, **app images**, **apis**, **app theme** etc.

### Models

Data model are defined for easier data handling and manipulation.

### Requests

Contains all the api requests to fetch fetch and send data to and fro the backend api.

### Services

Contains app services files for manipulating and interacting with different part of the part during use.&#x20;

For example there is **firebase.service.dart** which provides the app with interaction with firebase cloud messaging service.

### Translations

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:**&#x20;

1. English
2. French
3. Spanish
4. German
5. Portuguese
6. Arabic
7. Korean (South Korea)&#x20;

### Utils

Contains all app utility functions like ui spacer for adding space within the app widgets.

### View\_models

Fuodz is using the [Stacked State management package](https://pub.dev/packages/stacked). All business logic code is stored in the view\_models.&#x20;

ViewModel **m**anages 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.

### Views

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

### Widgets

Contains all UI widget used in the application like: Buttons, TextFields, BottomSheet views etc


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edentech.gitbook.io/glover/flutter-app/directory-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
