Transitioning to Flutter App Development
Article Summary
Cherry Lu from Mercari shares her journey switching from embedded Flutter to standalone app development. The architectural differences were bigger than she expected.
Cherry, a Flutter engineer on Mercari Hallo's mobile team, spent two years migrating a native Android app to Flutter using the add-to-app approach. Now working on a standalone Flutter app, she breaks down the key differences in architecture, testing strategies, and development focus that caught her off guard.
Key Takeaways
- Standalone Flutter eliminates complex native-Flutter bridge syncing and mixed routing stacks
- Mercari Hallo uses go_router with StatefulShellBranch for clean tab navigation management
- Widget and golden tests replace traditional layer-separated unit testing approaches
- React-like architecture with flutter_hooks replaces MVVM's separate ViewModel and Repository layers
- Custom linter rules enforce Dart best practices like collection literals over map-toList chains
Critical Insight
Moving from embedded to standalone Flutter means simpler project architecture but requires deeper focus on Flutter-specific patterns, widget testing, and React-like state management.