Skip to content
Videos
Video

Flutter Architecture Components | FlutterVikings 2022

by Simon Lightfoot youtube.com

41 min 6.3k views

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.

Topics Riverpod State management

It's All Widgets

Apps by Simon Lightfoot

  • Pawfect Match screenshot

    Pawfect Match

    Adopt a dog or cat with Pawfect Match, the brand-new matchmaking app for people and rescue animals across the UK. Make your search as open or precise as you like and enjoy swiping, saving and sharing the precious pets you are matched with.

    Lifestyle 5.0

Report this · Wrote this? Claim it

Supported by