Architecture: The LeanCode Guide
summary
Company builds 40+ Flutter apps and ships a reusable blueprint: a feature-based project structure that splits large features into extractable packages, a default of use cubits and hooks for state (95% cubit usage) with custom hook utilities, generated API contracts (OpenAPI or internal generator), and a copyable design system template with widgetbook, golden tests, and Figma-driven icons; also a custom LinkCode Forms solution for complex asynchronous forms that supports subforms, scroll-to-first-error and working integration with app components.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:07Architectural assumptions at LeanCode
- 3:10Feature vs layer project structure
- 7:05State management with BLoC and hooks
- 13:09Dependency injection in Flutter
- 16:58API integration and contracts
- 18:02Design system and UI reuse
- 22:16Paginated list with LeanCode
- 28:59Scaling via feature extraction
- 31:50Complex forms with LeanCode Forms
- 36:05Reactive data in Flutter
- 38:15Summary and tooling
- 39:41Q&A
related talks
22mArchitecture First: Foundations for Long Term Success
37mTaming Legacy: Refactoring Patterns for Large Flutter Codebases
29mSimplify app development by building widgets in isolation
26mBlueprint for Architecting a Scalable Component Library
30mFlutter at scale-experience from 25+ Flutter Devs working together on a mobile banking app
45mBuilding Products Full-Stack with Dart and Flutter
34mFrom Plug-and-Play to Fully Custom
13mBuilding platform adaptive apps
