keyboard_size_peek 0.1.2
keyboard_size_peek: ^0.1.2 copied to clipboard
Reports the keyboard's final height before the show/hide animation starts. Size bottom sheets and attachment panels without debounce magic.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add keyboard_size_peekThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
keyboard_size_peek: ^0.1.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:keyboard_size_peek/keyboard_size_peek.dart';