36

Tree 🌳

A mobile project carried out in Flutter for Onepoint, showcasing a list of 20 trees in Paris with details such as name, species, height, circumference, and address.

🌐 Project Overview

Type: Professional Project 🖥️

Institution: Onepoint 🏢

The "Projet de l'arbre" 🌳 was my maiden mobile project crafted in Flutter during my stint at Onepoint. Developed in October 2022 as a technical test, it's a mobile app that displays a list of 20 Parisian trees 🌲 along with intricate details like name, species, height, circumference, and address, utilizing the OpenData API of the city of Paris 🇫🇷.

📐 Architecture

This endeavor was accomplished by adopting a ViewModel architecture. The ViewModel architecture separates the UI logic from the business logic, ensuring a more modular and testable codebase.

In essence, the ViewModel is responsible for exposing the data objects necessary for the view to present the user interface. By doing so, the view becomes simpler and solely focuses on defining and rendering the UI, making it less prone to bugs and easier to maintain. This separation also means that changes to the view won't directly affect the business logic and vice versa.

One of the key advantages of the ViewModel architecture is that it allows for more straightforward unit testing. Given that the ViewModel doesn't have a direct reference to the view or any view-related components, we can easily test the business logic without any UI complications. Moreover, it promotes code reusability, as the same ViewModel can potentially be used with different views.

Incorporating the ViewModel architecture not only streamlines the development process but also ensures a scalable, maintainable, and robust application structure.

🛠️ Technologies Deployed

  • Dart
  • Flutter

🖼️ Application Illustrations

Projet de l'arbre App Image