Flutter Expension
Getting Started with Flutter π
Generated with β€οΈ from Dhiwise
A Flutter mobile application built completely using DhiWise and Supabase without coding single line of code. With 100% system generated code
This is the documentation of Flutter Applications.
It holds all the info you need to get started with
and make changes to your App
This application is build on MVVM architecture.
System Requirements
Dart SDK Version 2.12.0 or greater.
Flutter SDK Version 2.0.0 or greater.
Figma design guideline for better accuracy
Read our guidelines to increase the accuracy of design conversion to code by optimizing Figma designs.
https://docs.dhiwise.com/knowledgehub/reference-guide-and-tools/figma
App Navigations
Check your appβs UI from the AppNavigation screen of your app.
Supabase Configurations
- Add supabaseUrl and supabasePublicKey inside lib/core/utils/initial_bindings file
- For additional details refer https://supabase.com/docs/guides/with-flutter
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
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 - pull_to_refresh β For list functionalities
https://pub.dev/packages/pull_to_refresh - cupertino_icons β For iOS icons
https://pub.dev/packages/cupertino_icons - 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
If you have problems or questions go to our Discord channel, we will then try to help you as quickly as possible: https://discord.com/invite/rFMnCG5MZ7