Skip to main content

App Structure

  1. Components: This directory contains all the reusable UI components used in the screens of the application. It allows for modular and organized development, where each screen can have multiple components.

  2. Locale: This directory holds the JSON file for multi-language support. It facilitates easy translation and localization of the application.

  3. Models: This directory includes a base class that serves as a data store and enables other classes to track changes to that data. It provides a structured approach to data management within the application.

  4. Network: This directory encompasses all the API configurations for the application. It centralizes the settings and endpoints required for network communication.

  5. PaymentGateways: This section is dedicated to handling payment gateway integrations. It provides a separate space to configure and manage various payment options within the application.

  6. Screens: This directory contains all the individual screens of the application. Each screen represents a distinct user interface with specific functionality.

  7. Store: The store is responsible for managing application state using the MOBX state management technique. It provides a centralized place to store and update data, ensuring consistency across the application.

  8. Utils: The Utils directory holds the app's configuration files, including color schemes, constants, and commonly used functions. It promotes code reuse and encapsulates common functionalities.

  9. App_theme.dart: This file allows customization of the application's theme, including colors, fonts, and styles. It provides a convenient way to define the visual appearance of the entire app.

  10. Configs.dart: This file enables configuration customization for the application, such as changing the app's name and other settings. It serves as a central hub for modifying various aspects of the application's behavior and appearance.