native_keyboard_accessory 0.1.0
native_keyboard_accessory: ^0.1.0 copied to clipboard
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. KeyboardAccessoryScopeselects 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.KeyboardAccessoryStylefor colors (with separate dark-mode values), metrics, continuous corner curvature, shadow, and three button layouts.KeyboardAccessoryLabelsfor VoiceOver, supplied from Dart so they follow the host app's localization.- Default button behaviour is focus traversal; override it with
KeyboardAccessoryActionHandler. install()returns aKeyboardAccessoryInstallResultreporting exactly what attached, so a host can detect an unsupported engine at runtime.
