smart_keyboard_insets 0.0.1
smart_keyboard_insets: ^0.0.1 copied to clipboard
A Flutter plugin that provides accurate keyboard height and safe area bottom inset detection on Android and iOS. Perfect for chat apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_keyboard_insetsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
smart_keyboard_insets: ^0.0.1Alternatively, 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:smart_keyboard_insets/smart_keyboard_insets.dart';