Flutter Architecture Components


Wednesday August 31st, 10:00am | Thor room
(Based on GMT+2 / Norway)
A high level overview of a simple and scalable Flutter architecture, inspired by Android Architecture Components. The session, respectful of Flutter 2.5 new app template, presents an MVC architecture, relying on Simple State Management (Riverpod+ChangeNotifier) for state management, and on the service locator pattern for Dependency Injection. It goes through all the layers, starting from the UI layer (Views, Controllers), to the optional Domain layer (use cases), to the Data layer (data Models, services, repositories, data sources). It explains very good practises - like Reactiveness, Unidirectional Data Flow, Single Source of Truth, and where to keep your Business Logic - contextualised and mapped, and with real-life code snapshots and a working Pokemon app.