Multimodularity in Flutter, or how not to shoot yourself in the foot
summary
The talk explains how to structure a large Flutter app using multiple modules to share classes, UI components and functionality across teams. It covers practical guidance for dividing a project into modules, where to store and manage those modules, and common design mistakes to avoid when designing a modular architecture for mobile apps.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:12What is multimodularity
- 3:02When multimodularity needed
- 7:01When to split modules
- 8:46Common multimodularity mistakes
- 12:44Navigation and DI challenges
- 16:57Correct module structure
- 19:07Where to store modules
- 21:38Monorepository approach
- 22:22Melos for monorepos
- 25:47Code generation with Melos
- 26:31Key takeaways
- 28:18Q&A: Cyclic dependencies
- 29:43Q&A: Feature interactions
- 31:10Q&A: Interface modules
- 32:13Q&A: API code generators
- 33:17Q&A: Performance impact
- 34:18Q&A: Backend collaboration
- 35:06Q&A: Compilation optimization
