A comprehensive solution for embedding Flutter modules into native iOS, Android, and React Native applications with seamless bidirectional communication capabilities.
Overview
This repository contains everything you need to integrate Flutter modules into existing native mobile applications. It provides a Flutter plugin, a CLI tool for generating platform-specific modules, and example applications for each supported platform.
📦 Packages
This repository contains three main packages:
1. flutter_embedding
The core Flutter plugin that provides the embedding functionality and communication bridge between Flutter and native code.
2. flutter_embedding_cli
A command-line tool for generating platform-specific modules and example applications.
3. flutter_module
A demo Flutter module that showcases the embedding capabilities.
🏗️ Project Structure
flutter_embedding/
├── packages/
│ ├── flutter_embedding/ # Core Flutter plugin
│ ├── flutter_embedding_cli/ # CLI tool for module generation
│ └── flutter_module/ # Demo Flutter module
├── bricks/ # Mason brick templates
│ ├── android-example/ # Android example template
│ ├── ios-example/ # iOS example template
│ ├── react-native-example/ # React Native example template
│ └── react-native-module/ # React Native module template
└── README.md # This file
📚 Documentation
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
For support and questions:
- Create an issue in this repository
- Check the documentation in each package directory
- Review the example applications for implementation details
Made with ❤️ by Krispypen