Search packages, repositories and app categories

Package detailsv1.0.0

cupertino_interactive_keyboard

A Flutter plugin intended to achieve native iOS interactively dismissible keyboard.

iOS
30-day downloads
2.9K
Likes
44
Pub points
150

Install package

flutter pub add cupertino_interactive_keyboard

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables native iOS-style interactive keyboard dismissal on iOS devices. It allows users to swipe down on the keyboard to dismiss it, mimicking the behavior found in native iOS apps. The package integrates seamlessly with Cupertino widgets and provides a smooth, platform-appropriate user experience. It is designed specifically for iOS and does not affect other platforms. Developers can easily implement this feature without complex custom gestures or workarounds.

Use cases

  • Implementing iOS-native keyboard dismissal gestures
  • Enhancing UX in iOS-focused Flutter apps
  • Creating intuitive input fields with swipe-to-dismiss
  • Improving consistency with Apple's design guidelines
  • Adding interactive keyboard behavior in form inputs

Key features

  • Swipe-down gesture to dismiss keyboard
  • Native iOS interaction style
  • Seamless integration with Cupertino widgets
  • Platform-specific implementation for iOS only
  • Minimal setup required

Suitable for

  • iOS-first Flutter applications
  • Apps targeting Apple's design language
  • Developers seeking native-like keyboard interactions
  • Form-heavy interfaces on iOS
  • UX-focused mobile app development

Considerations

  • Only works on iOS devices
  • Does not support Android or other platforms
  • Requires CupertinoApp or Cupertino widgets
  • May conflict with custom keyboard gesture handlers
  • Limited to keyboard dismissal, not full keyboard customization

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.

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.

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package

No data available yet.