flutter_boost has been fully adapted for the ohos platform. Please refer to item 10 of the following document to understand the related conventions before integrating: FAQ
PS:Null-safety is already supported.
- Flutter SDK upgrades do not require Boost upgrades
- Simplify the architecture
- Simplify the interface
- Unified design of double-end interface
- Solved the Top Issue
- Android does not need to distinguish between AndroidX and Support
A next-generation Flutter-Native hybrid solution. FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts. The philosophy of FlutterBoost is to use Flutter as easy as using a WebView. Managing Native pages and Flutter pages at the same time is non-trivial in an existing App. FlutterBoost takes care of page resolution for you. The only thing you need to care about is the name of the page(usually could be an URL).
- Before proceeding, you need to integrate Flutter into your existing project.
- The Flutter SDK version supported by Boost 3.0 is >= 1.22
Open you pubspec.yaml and add the following line to dependencies:
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: '4.6.5'
- For Flutter SDK 3.0 and above, use
4.0.1+
. - For Flutter SDK below 3.0, use
v3.0-release.2
or earlier versions. - The null safety versions supporting Flutter SDK 2.5.x are
3.1.0+
. - The versions supporting Flutter SDK 3.16.x are
5.0.0+
. - The versions supporting HarmonyOS are
[4.5.0, 5.0.0)
.
- Detailed Integration Steps
- Basic Routing API
- API for Page Lifecycle
- Custom API for Sending Cross-Platform Events
please read this document: FAQ
This project is licensed under the MIT License - see the LICENSE file for details
Alibaba-Xianyu Tech is one of the earliest and largest teams running Flutter on a large scale online in China.
In our official WeChat account, we have carefully selected exclusive Flutter content for you, both comprehensive and in-depth.
The content includes tutorials and open-source information on Flutter integration, large-scale applications, engine exploration, engineering systems, and innovative technologies.
Architects / Backend Engineers / Client-side Engineers / Frontend Developers / Algorithm Engineers / Quality Engineers - submit your resumes through our WeChat account, there is no limit to the number of positions.
We welcome you to join Xianyu and become a curious, happy, and influential programmer. To send your resume, please email: [email protected]
Subscribe at: