搜尋套件、儲存庫與 APP 分類

zefyrka 封面
套件詳情v1.6.0

zefyrka

基於 Zefyr 套件的乾淨、極簡且支援協作的 Flutter 富文字編輯器。

近 30 天下載
1230
喜歡數
156
Pub 分數
70

安裝套件

flutter pub add zefyrka

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Zefyrka 是一個基於 Zefyr 框架建構的乾淨、極簡的富文字編輯器,專為 Flutter 所設計。它強調簡單性與協作性,提供簡潔的介面,用於建立和編輯格式化內容。專為開發者設計,支援即時協作功能,並能順暢整合至 Flutter 應用程式中。此套件非常適合需要直覺式文字輸入且具備類似 Markdown 格式化功能的應用程式。其輕量級設計確保跨裝置的流暢表現。

適用情境

  • 即時協作文件編輯
  • 行動應用程式中的內容創作
  • 基於 Markdown 的筆記應用
  • 生產力工具中的富文字輸入
  • 簡單而強大的文字編輯介面

主要特色

  • 極簡且乾淨的使用者介面
  • 基於 Zefyr,實現強大的文字處理
  • 協作就緒的架構
  • 支援 Markdown 樣式的格式化
  • 輕量且高效

適合對象

  • 開發協作應用程式的開發者
  • 需要簡單富文本輸入的團隊
  • 專注於內容創作的移動應用
  • 需要輕量級編輯器的項目
  • 強調使用者體驗簡潔性的Flutter應用

使用建議

  • 僅限 Flutter 平台
  • 無內建雲端同步(需整合)
  • 與功能齊全的編輯器相比,基本功能集
  • 依賴 Zefyr 的穩定性和更新
  • 可能需要自訂樣式以實現進階設計

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Soft and gentle rich text editing for Flutter applications.

Zefyrka is a fork of Zefyr package with the following improvements:

  • support Flutter 2.0
  • opt-in the null safety
  • added the extended attributes:
    • text color
    • background color
    • paragraph alignment
    • paragraph indentation

For documentation see https://github.com/gkynskyi/zefyrka.

zefyrka screenshot

Usage

See the example directory for a minimal example of how to use Zefyrka. You typically just need to instantiate a controller:

ZefyrController _controller = ZefyrController();

and then embed the toolbar and the editor, within your app. For example:

Column(
  children: [
    ZefyrToolbar.basic(controller: _controller),
    Expanded(
      child: ZefyrEditor(
        controller: _controller,
      ),
    ),
  ],
)

Check out Sample Page for advanced usage.

Installation

Official releases of Zefyrka can be installed from Dart's Pub package repository.

Note that versions from Pub track stable channel of Flutter.

To install Zefyrka from Pub add zefyrka package as a dependency to your pubspec.yaml:

dependencies:
  zefyrka: [latest_version]

And run flutter packages get.

Continue to https://github.com/glynskyi/zefyrka/blob/main/doc/quick-start.md to learn more about Zefyrka and how to use it in your projects.

所屬分類

依賴

依賴清單 5 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。