搜尋套件、儲存庫與 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-Native 混合整合
  • 深度連結支援
  • 高效螢幕轉換管理
  • 跨平台的導航協調
  • 所需的設定最少

適合對象

  • 維護遺留原生應用的團隊
  • 開發人員逐步添加 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

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。