flutter_keyboard_visibility 3.0.0 flutter_keyboard_visibility: ^3.0.0 copied to clipboard
Flutter plugin for discovering the state of the soft-keyboard visibility on Android and iOS.
Flutter Keyboard Visibility #
React to keyboard visibility changes.
This is a fork, original project here.
Install #
Add the dependency to your pubspec.yaml
dependencies:
flutter_keyboard_visibility: ^2.0.0
Usage #
import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart';
@override
void initState() {
super.initState();
KeyboardVisibility.onChange.listen((bool visible) {
print(visible);
});
}