Integrantes:
- João Paulo Morais Rangel - 820827
- Vitor Taichi Taira - 823838
Um app para artrite reumatoide.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
This project use .env file for communication with APIs. Make sure your .env file is set before start the project and following the .env_example file.
This project will follow the concepts of MVC architecture pattern, so the current project use this following organization:
lib/
│
├── models/ # Data models representing the business logic entities
│ └── <model_name>.dart # Example model
│
├── views/ # UI screens and widgets
│ ├── widgets # Shared widgets with views
│ │ └── <widget>.dart
│ └── <view-name> # View folder
│ ├── widgets # Widgets used only on the page
│ │ └── <widget>.dart
│ └── <view-name>.dart
│
├── view_models/ # Business logic controllers
│ └── <view_model_name>.dart
│
├── blocs/ # Business logic components (For BLoC pattern)
│ └── <bloc_name>.dart
│
├── services/ # Services like API or database management
│ └── <service_name>.dart # Service for network calls
│
├── utils/ # Utility functions and constants
│ ├── constants.dart # Application constants
│ └── utils.dart # Utility functions
│
├── routes/ # Routes
│ ├── index.dart # Export all routes
│ └── <route_name>.routes.dart # Route for each usage
│
└── main.dart # Entry point of the appThe bellow information is additional, but can help you to understand how flutter works and has some insights about best practices on the flutter framework.
The project use the library GoRouter to make the navigation more easy. Below has a description about routing methods:
context.go(): Will push a new page to the page stack. Use this to maintain the page stack.context.go(): Replace the page stack with the page using a new page key.