@override void initState() { super.initState(); _typewriterKeyboardController = TypewriterKeyboardController(); _typewriterKeyboardController.textStream.listen(_onTextReceived); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( leading: BackButton(), ), bottomSheet: TypewriterKeyboard( typewriterKeyboardController: _typewriterKeyboardController, ), ); } void _onTextReceived(String text) { final textValue = text.toLowerCase(); switch (textValue) { //Update EditText } }