keyboard_detection 0.1.0 keyboard_detection: ^0.1.0 copied to clipboard
This plugin gives you an easy way to detect if the keyboard is visible or not.
0.1.0 #
-
Bug fixed: Keyboard visibility only notify one time when changed.
-
[BREAKING CHANGE]
- Before:
@override Widget build(BuildContext context) { return MaterialApp( home: KeyboardDetection( timerDuration: const Duration(milliseconds: 10), onChanged: (value) { print('Is Keyboard Opened: $value'); setState(() { isKeyboardOpened = value; }); }, child:
- Now:
@override Widget build(BuildContext context) { return MaterialApp( home: KeyboardDetection( controller: KeyboardDetectionController( timerDuration: const Duration(milliseconds: 10), onChanged: (value) { print('Is Keyboard Opened: $value'); setState(() { isKeyboardOpened = value; }); }, ), child:
0.0.1+1 #
- Initial release.