native_keyboard_accessory 0.1.0 copy "native_keyboard_accessory: ^0.1.0" to clipboard
native_keyboard_accessory: ^0.1.0 copied to clipboard

PlatformiOS

A real UIKit inputAccessoryView for Flutter text fields on iOS — the previous / next / done bar above the keyboard, part of the keyboard itself rather than a Flutter overlay.

0.1.0 #

Initial release.

  • Native UIKit inputAccessoryView (previous / next / done) for Flutter text fields on iOS, attached to the engine's own input view rather than drawn as a Flutter overlay.
  • KeyboardAccessoryScope selects which fields get the bar, as three independent switches: keyboards with no return key, multi-line fields whose return key inserts a newline, and single-line fields whose return key already works. Scope changes apply live, including to the field focused right now.
  • KeyboardAccessoryStyle for colors (with separate dark-mode values), metrics, continuous corner curvature, shadow, and three button layouts.
  • KeyboardAccessoryLabels for VoiceOver, supplied from Dart so they follow the host app's localization.
  • Default button behaviour is focus traversal; override it with KeyboardAccessoryActionHandler.
  • install() returns a KeyboardAccessoryInstallResult reporting exactly what attached, so a host can detect an unsupported engine at runtime.
2
likes
160
points
98
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A real UIKit inputAccessoryView for Flutter text fields on iOS — the previous / next / done bar above the keyboard, part of the keyboard itself rather than a Flutter overlay.

Repository (GitHub)
View/report issues

Topics

#keyboard #ios #text-input #accessibility #form

License

MIT (license)

Dependencies

flutter

More

Packages that depend on native_keyboard_accessory

Packages that implement native_keyboard_accessory