搜索插件、代码仓与 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 项

源码仓库

使用此插件的项目

暂无相关数据。

所在榜单