flutter_keyboard_controller 0.0.3
flutter_keyboard_controller: ^0.0.3 copied to clipboard
Smooth, frame-by-frame keyboard animation tracking for Flutter. Includes KeyboardChatScrollView, KeyboardToolbar, KeyboardStickyView, KeyboardAwareScrollView, and KeyboardAvoidingView — everything you [...]
0.0.3 #
Update README #
- Rewrote intro — removed inaccurate claim about
MediaQuery.viewInsetsOf, replaced with accurate description of targeted rebuild advantage - Updated comparison table:
MediaQuery.viewInsetsOfvs library, removed misleading rows, added real differentiators (rebuild scope, progress 0→1, event types, interactive dismiss,setInputMode,preload) - Updated installation version to
^0.0.2
0.0.2 #
Update README #
- Added full parameter tables for all widgets with defaults
- Added
KeyboardProviderdedicated section - Added
FocusedInputLayout,FocusedInputTextChangedEvent,FocusedInputSelectionChangedEventdocumentation - Added
KeyboardEventType.interactiveto event reference - Added
KeyboardControllerScopemethod table - Added
AndroidSoftInputModebehavior explanation - Added
KeyboardAwareScrollViewfull params + fallback note - Added
KeyboardAvoidingView.enabledparam + layout-stability explanation - Added
KeyboardChatScrollView.onEndVisible+safeAreaBottomdocumentation - Added
KeyboardAnimationevent listening example
0.0.1 #
Initial release #
- KeyboardProvider — root widget that tracks keyboard state via native platform channels. Wraps your app once; all descendants get access to live keyboard data.
- KeyboardAnimation — exposes
heightNotifier,progressNotifier, andisVisibleNotifierasValueNotifiers for efficient, targeted rebuilds. - KeyboardController — static API to dismiss keyboard, query visibility, and set Android soft-input mode.
- KeyboardChatScrollView — chat-optimised scroll view with four lift behaviours:
always,whenAtEnd,persistent,never. - KeyboardStickyView — sticks any widget to the top of the keyboard and animates it frame-by-frame.
- KeyboardToolbar — Prev / Next / Done toolbar above the keyboard with customisable labels, arrow colour, and Done colour.
- KeyboardToolbarScaffold — convenience scaffold that wires up
KeyboardToolbarwith a single line. - KeyboardAwareScrollView — auto-scrolls to keep the focused
TextFieldvisible as the keyboard opens. - KeyboardAvoidingView — lightweight alternative to Flutter's
resizeToAvoidBottomInsetfor fine-grained control. - iOS: frame-accurate keyboard tracking via
CADisplayLinkwith easing-curve interpolation. - Android: frame-accurate tracking via
WindowInsetsAnimationCompat. - Android:
setInputMode/setDefaultModesupport.