Flutter Feature Modules
What is Flutter Feature Modules?
Flutter Feature Modules: A Flutter feature module groups the code and entry points for one product capability. A module can contain a screen, a state controller, a route and registrations for its dependencies. Keeping this code together makes the feature easier to find and change. Use a module boundary when a capability such as bookings has its own screens, rules and navigation.
Frequently asked questions about Flutter Feature Modules
What should you keep in mind with Flutter Feature Modules?
Keep shared contracts small. Direct imports between feature internals make moving or testing either feature harder.
What does an example of Flutter Feature Modules look like?
bookings/{data,domain,presentation} At a glance
| Category | Flutter & Dart |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |