pseudo_keyboard 1.0.0 copy "pseudo_keyboard: ^1.0.0" to clipboard
pseudo_keyboard: ^1.0.0 copied to clipboard

outdatedDart 1 only

widget to simulate keyboard UI. not a real keyboard.

pseudo_keyboard #

Widget to simulate keyboard UI in flutter

not a real keyboard

Getting Started #

to include in flutter yaml

  pseudo_keyboard:
    git: git://github.com/hyuricane/flutter-pseudo-keyboard.git

sample in code:

import 'package:pseudo_keyboard/pseudo_keyboard.dart';

...

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text("Title"),
      ),
      body: new SafeArea(
        child: new Column(
          children: <Widget>[
            new Expanded(
              flex: 2,
              child: new Center(
                child: new Text("Main Body")
              )
            ),
            new KeyboardWidget(
              onKeyUp: (int keyCode, bool isShift, bool canceled) {
                debugPrint("keyPressUp {code: $keyCode, shift: $isShift, canceled: $canceled}");
              }, 
              onKeyDown: (int keyCode, bool isShift) {
                debugPrint("keyPressDown {code: $keyCode, shift: $isShift}");
              },
            ),
          ],
        ),
      ),
    );
  }

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

widget to simulate keyboard UI. not a real keyboard.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pseudo_keyboard