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

套件詳情v0.4.2

super_keyboard

一個報告鍵盤可見性與大小的外掛程式。

AndroidiOS
近 30 天下載
4.7萬
喜歡數
8
Pub 分數
140

安裝套件

flutter pub add super_keyboard

套件介紹

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

SuperKeyboard 是一個 Flutter 插件,可在 Android 與 iOS 裝置上即時偵測鍵盤的可見性與尺寸。它讓開發者能動態回應鍵盤出現,確保 UI 元素保持可存取且位置正確。此套件透過提供鍵盤高度與狀態的精確資訊,簡化了鍵盤互動的處理,對於表單、聊天介面與輸入密集型應用中的響應式版面設計至關重要。該套件以跨平台相容性為設計考量,可無縫整合至現有的 Flutter 專案中。

適用情境

  • 動態表單佈局調整
  • 聊天介面響應性
  • 輸入欄位焦點管理
  • 避免內容重疊
  • 鍵盤彈出時的響應式 UI

主要特色

  • 即時鍵盤可見性檢測
  • 精確的鍵盤大小報告
  • 跨平台支援(Android 與 iOS)
  • 簡單的 API 結合
  • 基於事件的鍵盤狀態更新

適合對象

  • 開發輸入密集型應用的開發者
  • 需要自適應UI佈局的應用程式
  • 表單與聊天應用創建者
  • 重視跨平台一致性的團隊

使用建議

  • 需要針對特定平台進行設定以處理邊緣情況
  • 可能需要額外的邏輯來處理複雜的嵌套滾動視圖
  • 受限於鍵盤大小/可見性——無輸入處理

原始 README

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

Super Editor
Open source, configurable, extensible text editor and document renderer for Flutter.

Super Editor works with any backend. Plug yours in and go!


Super Editor was initiated by Superlist and is implemented and maintained by the Flutter Bounty Hunters, Superlist, and the contributors.




A Note on Releases (June, 2024):
We've been busy at work on core editor improvements like undo/redo, a stable editor pipeline, and useful editor reactions. These APIs have evolved a lot, so we haven't cut a standard release in a long time. We're still evolving those APIs right now.

Rest assured, Super Editor and the other projects in this repo are under regular development. We're still here and working hard.

We're now starting to publish developer releases of Super Editor so that the community can see what we've been working on.

As a reminder, your project doesn't need to use Pub to use Super Editor. You can depend directly on this GitHub repository to keep up with the latest changes. Please check the section below about our Git branches.




A Note on Branches:
Do you use Flutter's stable branch? Be sure to checkout super_editor's stable branch, for compatibility.
Do you use Flutter's master branch? Be sure to checkout super_editor's main branch, for compabitility.


Super Editor

Super Editor & Super Text Field

Please see the SuperEditor README about how to use the packages, or run the sample editor.

A web demo is accessible at https://superlist.com/SuperEditor.


We're building an entire toolkit!

You might notice that this is a mono-repo, which includes multiple projects. That's because we're not just building an editor. We're building a document editing toolkit. In fact, we're revolutionizing all text layout and editing with Flutter! Check out some of our supporting projects.

Super Editor Super Text Layout Attributed Text

Mono-repo Versioning

If you have compilation errors when using the GitHub version of super_editor, try overriding dependencies for the other packages in this mono-repo, e.g., super_editor_markdown, super_text_layout, and attributed_text. This project often makes changes to multiple packages within the mono-repo, which requires that you use the latest main or stable version of every package.

You can override your dependencies as follows:

dependency_overrides:
  super_editor:
    git:
      url: https://github.com/superlistapp/super_editor
      path: super_editor
      ref: stable # or "main"
  super_editor_markdown:
    git:
      url: https://github.com/superlistapp/super_editor
      path: super_editor_markdown
      ref: stable
  super_text_layout:
    git:
      url: https://github.com/superlistapp/super_editor
      path: super_text_layout
      ref: stable
  attributed_text:
    git:
      url: https://github.com/superlistapp/super_editor
      path: attributed_text
      ref: stable

所屬分類

依賴

依賴清單 5 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。

所在榜單