zeba_academy_keyboard 1.0.0
zeba_academy_keyboard: ^1.0.0 copied to clipboard
Keyboard utilities for Flutter including keyboard visibility, height, animation, dismiss helper and keyboard-aware builder.
======================================================== CHANGELOG.md #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog: https://keepachangelog.com/en/1.0.0/
Versioning follows Semantic Versioning (SemVer): https://semver.org/ #
1.0.0 - 2026-07-06 #
🎉 Initial Release of zeba_academy_keyboard
Added #
✔ KeyboardController
- Core singleton controller for managing keyboard state
- Detects keyboard open/close using WidgetsBindingObserver
- Provides real-time keyboard height
✔ Keyboard State Support
- KeyboardState enum (open / closed)
- Reactive state updates
✔ KeyboardListener
- Detects keyboard open/close events
- Supports onOpened and onClosed callbacks
✔ KeyboardHeight Widget
- Provides real-time keyboard height via builder
- Uses AnimatedBuilder for reactive updates
✔ KeyboardAnimatedPadding
- Smooth animated bottom padding when keyboard opens
- Customizable duration and curve
✔ KeyboardDismiss
- Tap anywhere to dismiss keyboard
- Static helper method for manual dismissal
✔ KeyboardAwareBuilder
- Provides:
- isVisible (bool)
- keyboard height (double)
- Fully reactive UI builder
✔ KeyboardProvider
- InheritedNotifier wrapper for global access to controller
✔ KeyboardUtils
- Utility helpers:
- dismiss(context)
- isVisible(context)
- height(context)
Features #
- Zero dependency package
- Lightweight and performance optimized
- Flutter 3+ compatible
- Null-safe implementation
- Clean architecture with separation of concerns
Developer Notes #
- Uses PlatformDispatcher for accurate keyboard height calculation
- Built using WidgetsBindingObserver for lifecycle tracking
- Designed for reusable UI components across apps
[Unreleased] #
Planned #
🚧 KeyboardVisibilityBuilder (optimized rebuilds only on state change) 🚧 KeyboardSafeArea widget (automatic bottom padding handling) 🚧 KeyboardScrollHelper (auto-scroll focused TextField into view) 🚧 KeyboardDismissOnDrag support 🚧 Animation controller exposing 0.0 → 1.0 keyboard progress 🚧 Improved performance optimizations for large widget trees
========================================================