tencent_keyboard_visibility 1.0.1 copy "tencent_keyboard_visibility: ^1.0.1" to clipboard
tencent_keyboard_visibility: ^1.0.1 copied to clipboard

A new Flutter keyboard visibility package.

tencent_keyboard_visibility #

NOTICE: This package is forked from keyboard_visibility, and maintained by Tencent Cloud Chat Flutter Team.

We did the following changes and improvements to this package:

  • Supports latest version of Flutter.

This flutter pacakge will detect soft-keyboard open and close status.

How to use: #

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
     tencent_keyboard_visibility: ^1.0.1

install packages from the command line:

$ flutter pub get

Now in your Dart code, you can use:

 KeyboardVisibility(
      // it will notify
        onChanged: (bool visible) {
          print(visible);
        },
        child: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: const <Widget>[TextField()],
          ),
        ),
      ),
1
likes
120
points
1.54k
downloads

Publisher

verified publishercomm.qq.com

Weekly Downloads

A new Flutter keyboard visibility package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on tencent_keyboard_visibility