• Latest
  • Hot
  • Ask
  • Full Apps
  • Ui
  • Packages
Ask May 06,2022

Send Keyboard Event Flutter

I am trying to find a way to send keyboard events from my flutter app to a WebView that I have open in app. For example, the WebView has some JS code with an Observer that waits for key events to happen. Any idea how could I do that?


Solution 1: Gustavo Mauricio De Barros

You can use the KeyboardListener class and send the data on the WebView javaScriptChannels property (considering you are using webview_flutter package).


Twitter Facebook Reddit Hacker News LinkedIn Email

Most Viewed

Netflix UI Clone Build with Flutter and BloC

GitJournal - Markdown Notes Build with Fluter

How to debug multiple widgets used the same GlobalKey

Sign in up takes so long time to load from firebase

Featured Articles

Catagories

  • Ask63292
  • Full Apps40
  • Ui5
  • Packages2
  • Game2
  • Template0
  • flutter
  • user-interface
  • dart
  • text-decorations
  • textformfield
  • firebase
  • google-cloud-firestore
  • flutter-layout
  • containers
  • center
  • flutter-column
  • inheritance
  • interface
  • flutter-animation
  • list
  • split
  • chunks
  • flutter-provider
  • flutter-dependencies
  • flutter-pub
  • flutter-upgrade
  • string
  • android
  • foreground-service
  • foregroundnotification
  • custom-notification
  • rest
  • datetime
  • orientation
  • device
  • android-studio
  • gradle
  • android-gradle-plugin
  • listview
  • ios
  • deep-linking
  • flutter-navigation
  • bloc
  • flutter-bloc
  • android-manifest
  • sqflite
  • keystore
  • http
  • httpclient
  • google-maps-flutter
  • json
  • visual-studio
  • image
  • fullscreen
  • imagepicker
  • flutter-getx
  • time
  • timepicker
  • uisearchbardelegate
  • tobase64string
  • testing
  • automated-tests
  • widget
  • textfield
  • Privacy Policy
  • Submit Project
© Copyright © All rights reserved
Licensed under cc by-sa 3.0 with attribution required.

Catagories

  • Ask
  • Full Apps
  • Ui
  • Packages

Join our Newsletter