flutter_keyboard_scroll 1.0.4 copy "flutter_keyboard_scroll: ^1.0.4" to clipboard
flutter_keyboard_scroll: ^1.0.4 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
0
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A plugin for keyboard show listen.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_keyboard_scroll