FLUTTER ECOSYSTEM

ky1vstar/cupertino_interactive_keyboard

一個旨在實現原生 iOS 互動式可關閉鍵盤的 Flutter 插件

cupertino_interactive_keyboard 專案封面
Stars
14
Forks
5
最近推送(UTC)
2026年1月6日
專案狀態
未封存
Oleksandr Zhuhan GitHub avatar
GITHUB User

Oleksandr Zhuhan ↗

Ukraine
語言DartSwiftRubyObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 5 項
  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_test開發依賴{"sdk":"flutter"}
  • go_router開發依賴^17.0.1
  • lint開發依賴^2.1.2

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Stand With Ukraine

Cupertino Interactive Keyboard

A Flutter plugin intended to achieve native iOS interactively dismissible keyboard. It can be used as temporary solution while we are waiting this issue to be resolved by the Flutter team 🙏. On other side, this plugin doesn't rely on questionable keyboard screenshot approach, so it is expected to work more solid.

https://raw.githubusercontent.com/ky1vstar/cupertino_interactive_keyboard/HEAD/resources/demo1.gif https://raw.githubusercontent.com/ky1vstar/cupertino_interactive_keyboard/HEAD/resources/demo2.gif

Getting Started

The CupertinoInteractiveKeyboard defines the area where the draggable keyboard is enabled. Using scrollable widget as its child is optional.

CupertinoInteractiveKeyboard(
  child: ListView.builder(
    ...
  ),
);

In chat-like UI where you have input bar attached to the bottom, you can use the CupertinoInputAccessory widget. It designed to use its child's height as native input accessory view size.

CupertinoInputAccessory(
  child: TextField(
    ...
  ),
);

See the full example of complete implementation.