/allen-estate

Flutter real estate demo app for professional dev portfolio.

Primary LanguageDartMIT LicenseMIT

Allen Real Estate

Real Estate Client App written in Dart/Flutter.

demo gif

UI Design

🎉🎉🎉V1.0 is here!🎉🎉🎉

Getting Started

This project depends on the build_runner package for code generation, make sure to run pub run build_runner build after running flutter pub get on the root directory otherwise the project won't built as auto-generated files are not checked into VCS.

After files has been generated by running build_runner build you may proceed as any other regular flutter project.

The map shown in the single page depends on mapbox_gl make sure to create a configuration file with your own mapbox api key at lib/ui/widgets/info_map/config.secret.dart


App Architecture 🏨📏

  • MVVM(ish) architecture
  • Each layer only depends on the layer below
  • Locator pattern is achieved by using get_it package
  • Data binding is achieved by using ChangeNotifier class and provider package

A---->B (A depends on B)

File Structure 💾

The project is divider into two main folders in the lib folder

Main code folders

The core folder contains most if not all of the business logic written in pure dart code and it does not depend on the flutter framework

core folder content

The iu folder contains all the flutter code, the only folder that depends on the core business logic is in lib>ui>containers, you may consider it as the glue between the business logic and the presentation layer

core folder content


TODO 🛒

General

  • Add data persistency to improve user experience
  • Update view models to auto-retry when internet connection is back (image widgets as well)
  • Add dark mode
  • Add language internationalisation
  • Add tablet and desktop screen resolution support

Home Screen

Real Estate List Screen

  • Add filters UI and business logic

Real Estate Single Screen

  • Add feature to share images with watermark thought native interfaces