flutter_keyboard_scroll 1.0.21
flutter_keyboard_scroll: ^1.0.21 copied to clipboard
A plugin for keyboard show listen. and scroll the widget to the top of the keyboard.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_keyboard_scrollThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_keyboard_scroll: ^1.0.21Alternatively, 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:flutter_keyboard_scroll/keyboard_observer.dart';
import 'package:flutter_keyboard_scroll/keyboard_scroll.dart';