keyboard_controller library
Interactive keyboard dismiss and keyboard-aware chat widgets for Flutter.
Classes
- ChatScrollController
-
Controls a
KeyboardChatView: reports whether the newest message is in view, scrolls back to it, and pins a sent prompt to the top while its answer streams in. - KeyboardChatView
- A chat screen body: a message list with the newest message at the bottom and a composer that rides the keyboard.
- KeyboardController
- The keyboard state shared by every keyboard-aware widget under a KeyboardScope.
- KeyboardDismissRegion
- Lets a finger dragging down inside child pull the keyboard away, and back up.
- KeyboardHoldScrollPhysics
-
Scroll physics for your own scrollable inside a
KeyboardDismissRegion: the list stays still while the keyboard follows the finger, asKeyboardChatViewdoes for its list. - KeyboardScope
- Provides keyboard state to keyboard-aware widgets.
- KeyboardStickyView
- Keeps child sitting on top of the keyboard, following it every frame.
Enums
- KeyboardLiftBehavior
- How a chat list moves when the keyboard opens or closes, named after apps that use each one.
- KeyboardPhase
- Where the software keyboard is in its show and hide cycle.