搜索插件、代码仓与 APP 分类

插件详情v1.17.1

flutter_boost

下一代Flutter-原生混合解决方案。FlutterBoost 是一个 Flutter 插件,可让您以最少的努力将 Flutter 集成到现有的原生应用中。

近 30 天下载
121
喜欢数
32
Pub 分数
30

安装插件

flutter pub add flutter_boost

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

FlutterBoost 是一个专为将 Flutter 无缝集成到现有原生应用中而设计的 Flutter 插件,只需极少的工作量即可实现。它使开发者能够在原生应用中嵌入 Flutter 界面,从而在不重写整个应用的情况下逐步迁移或增强功能。该解决方案支持深度链接、原生与 Flutter 之间的导航协调以及高效的屏幕切换。由阿里巴巴开源社区开发,为结合原生性能与 Flutter 的丰富 UI 能力提供了坚实的基础。

适合场景

  • 将 Flutter 集成到现有的原生 iOS/Android 应用中
  • 从原生到 Flutter 的渐进式迁移
  • 使用Flutter添加新功能而无需完全重写
  • 在原生屏幕和Flutter屏幕之间启用深度链接
  • 支持复杂的导航工作流

主要特点

  • 无缝的 Flutter 原生混合集成
  • 深度链接支持
  • 高效的屏幕过渡管理
  • 跨平台的导航协调
  • 所需设置最少

适合对象

  • 维护遗留原生应用的团队
  • 开发人员逐步添加 Flutter 功能
  • 需要高性能混合解决方案的项目
  • 需要在原生屏幕和Flutter屏幕之间实现流畅导航的应用
  • 大规模应用与混合技术栈

使用建议

  • 需要理解原生和Flutter导航
  • 可能需要自定义桥接逻辑来处理复杂交互
  • 与官方包相比,文档有限
  • 可能需要特定于平台的配置
  • 跨边界的状态管理潜在复杂性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。


中文文档 中文介绍

Release Note

[ohos] New Platform

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

4.6.5

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

FlutterBoost

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). 

Prerequisites

  1. Before proceeding, you need to integrate Flutter into your existing project.
  2. The Flutter SDK version supported by Boost 3.0 is >= 1.22

Getting Started

Add a dependency in you Flutter project.

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'

Version Notes

  • 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).

Usage

Contribution

FAQ

please read this document: FAQ

License

This project is licensed under the MIT License - see the LICENSE file for details

About Us

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: tino.wjf@alibaba-inc.com

Subscribe at:

For English

所属分类

源码仓库

使用此插件的项目

暂无相关数据。