grocery_app
Become a financial contributor -
Table of Contents
- System Requirements
- Figma design guidelines for better accuracy
- App Navigations
- Project Structure
- How you can do code formatting?
- How you can improve the readability of code?
- Libraries and tools used
- Support
System Requirements
Dart SDK Version 2.17.0 or greater. Flutter SDK Version 3.0.0 or greater.
Design System for better accuracy
App Navigations
Check your app's UI from the AppNavigation screen of your app.
Project Structure
After successful build, your application structure should look like this:
.
βββ android - contains files and folders required for running the application on an Android operating system.
βββ assets - contains all images and fonts of your application.
βββ ios - contains files required by the application to run the dart code on iOS platforms.
βββ lib - Most important folder in the project, used to write most of the Dart code.
βββ main.dart - starting point of the application
βββ core
β βββ app_export.dart - contains commonly used file imports
β βββ constants - contains all constants classes
β βββ errors - contains error handling classes
β βββ network - contains network related classes
β βββ utils - contains common files and utilities of project
βββ data
β βββ apiClient - contains API calling methods
β βββ models - contains request/response models
β βββ repository - network repository
βββ localization - contains localization classes
βββ presentation - contains all screens and screen controllers
β βββ screens - contains all screens
βββ routes - contains all the routes of application
βββ theme - contains app theme and decoration classes
βββ widgets - contains all custom widget classes
How you can do code formatting?
- if your code is not formatted then run following command in your terminal to format code
dart format .
How you can improve the readability of code?
Resolve the errors and warnings that are shown in the application.
Libraries and tools used
- get - State management https://pub.dev/packages/get
- connectivity_plus - For status of network connectivity https://pub.dev/packages/connectivity_plus
- shared_preferences - Provide persistent storage for simple data https://pub.dev/packages/shared_preferences
- cached_network_image - For storing internet image into cache https://pub.dev/packages/cached_network_image
Support
Connect to Widle Studio Team.