1. Home
  2. Docs
  3. Listar FluxPro
  4. Mobile App
  5. Source Structure

Source Structure

Listar FluxPro – Source Structure

Config Files

File locate: ./lib/configs/..

  • application.dark: main setting for app
  • config.dark: load app config for app
  • image.dark: all images use for the app
  • language.dark: all images use for the app
  • list.dark: config setting for directory listing data
  • preferences.dark: define key for storing dta
  • routes.dark: define router flow
  • theme.dark: define common FontFamily, FontWeight, Typography system
  • theme_collection.dark: theme schema for application

Widget

File locate: ./lib/widgets/..

It contains all UI widgets, including buttons, loading indicators, star ratings, items, cards, and messages.

Blocs

It contains all Blocs patterns of the application

Screens

File locate: ./lib/screens/..

It contains all the screens of the application

All app template designs can be found in the ./lib/screens/.. folder. You can modify or restructure them to match your project’s design.

Assets

File locate: ./assets/..

This folder can be used to store various types of file resources, such as images or fonts.

Models

File locate: ./lib/models/..

We have defined a data model class for each screen to load all data.

Utils

File locate: ./lib/utils/..

It contains various utility functions such as form validation, logging, theme switching, and color management. They appear to be helper functions.

API

File locate: ./lib/api/..

  • http_manager.dark: define API URL, timeout, post, get, exception code handler
  • api.dark: define constants Suffix API URL for each function