SuperKeyboard는 Android 및 iOS 기기에서 키보드의 가시성과 크기를 실시간으로 감지하는 Flutter 플러그인입니다. 개발자가 키보드 표시에 따라 동적으로 반응할 수 있도록 하여 UI 요소가 접근 가능하고 적절한 위치에 유지되도록 합니다. 이 패키지는 폼, 채팅 인터페이스 및 입력 중심 애플리케이션에서 반응형 레이아웃을 위해 필수적인 키보드의 높이와 상태에 대한 정확한 정보를 제공함으로써 키보드 상호작용 처리를 단순화합니다. 크로스플랫폼 호환성을 고려하여 설계되었으며, 기존의 Flutter 프로젝트에 쉽게 통합될 수 있습니다.
사용 사례
동적 폼 레이아웃 조정
채팅 인터페이스 반응성
입력 필드 포커스 관리
콘텐츠 겹침 방지
키보드가 나타날 때의 반응형 UI
주요 기능
실시간 키보드 표시 감지
정확한 키보드 크기 보고
크로스 플랫폼 지원 (Android 및 iOS)
간단한 API 통합
이벤트 기반 키보드 상태 업데이트
적합한 대상
입력 중심 앱을 개발하는 개발자
적응형 UI 레이아웃이 필요한 앱
양식 및 채팅 애플리케이션 제작자
크로스 플랫폼 일관성을 우선시하는 팀
고려 사항
예외적인 경우를 처리하기 위해 플랫폼별 구성이 필요합니다
복잡한 중첩 스크롤 뷰를 위해 추가 로직이 필요할 수 있습니다
키보드 크기/가시성에 제한됨 — 입력 처리 없음
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
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.
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.
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_editorpath:super_editorref:stable# or "main"super_editor_markdown:git:url:https://github.com/superlistapp/super_editorpath:super_editor_markdownref:stablesuper_text_layout:git:url:https://github.com/superlistapp/super_editorpath:super_text_layoutref:stableattributed_text:git:url:https://github.com/superlistapp/super_editorpath:attributed_textref:stable