flutter_keyboard_scroll 1.0.6 copy "flutter_keyboard_scroll: ^1.0.6" to clipboard
flutter_keyboard_scroll: ^1.0.6 copied to clipboard

A plugin for keyboard show listen.

flutter_keyboard_scroll #

A plugin for keyboard show listen.

Getting Started #

KeyboardObserver( hideListener: (double former, double newer, time) { FocusScope.of(context).requestFocus(FocusNode()); }, child: Column( children: [ _buildScreenShow(), _buildTextField(), ], ), );

///keyboard scroll controller

final KeyboardScrollController _keyboardScrollController = KeyboardScrollController();

///add wrapper

_keyboardScrollController.addTextFieldWrapper( TextFieldWrapper.fromKey(focusNode: _focusNode, focusKey: _globalKey), );

///build widget

KeyboardScroll( controller: _keyboardScrollController, child: ListView( padding: EdgeInsets.fromLTRB( 0, 0, 0, MediaQuery.of(context).padding.bottom, ), children: [ ... ), )

1
likes
140
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A plugin for keyboard show listen.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_keyboard_scroll