{"id":19839423,"url":"https://github.com/scientifichackers/flutter-keyboard-plugin","last_synced_at":"2026-01-11T13:32:35.530Z","repository":{"id":56833511,"uuid":"181559547","full_name":"scientifichackers/flutter-keyboard-plugin","owner":"scientifichackers","description":"Flutter plugin to detect keyboard events.","archived":false,"fork":false,"pushed_at":"2020-01-22T16:59:06.000Z","size":79,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T17:04:14.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scientifichackers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-15T20:19:30.000Z","updated_at":"2025-03-13T11:33:49.000Z","dependencies_parsed_at":"2022-09-13T08:42:04.160Z","dependency_job_id":null,"html_url":"https://github.com/scientifichackers/flutter-keyboard-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fflutter-keyboard-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fflutter-keyboard-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fflutter-keyboard-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Fflutter-keyboard-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scientifichackers","download_url":"https://codeload.github.com/scientifichackers/flutter-keyboard-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932513,"owners_count":21667157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:22:23.375Z","updated_at":"2026-01-11T13:32:35.523Z","avatar_url":"https://github.com/scientifichackers.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Keyboard Plugin\n\nA Flutter plugin to detect keyboard events on Android. Useful for non-touchscreen devices.\n\n[![Sponsor](https://img.shields.io/badge/Sponsor-jaaga_labs-red.svg?style=for-the-badge)](https://www.jaaga.in/labs)\n\n[![pub package](https://img.shields.io/pub/v/keyboard.svg?style=for-the-badge)](https://pub.dartlang.org/packages/keyboard/)\n\n## Example\n\nThe example app can show detected events in a `ListView`.\n\nIt's present in the usual `example` directory.\n\n```\n$ git clone https://github.com/devxpy/flutter-keyboard-plugin.git\n$ cd flutter-keyboard-plugin/example\n$ flutter run\n```\n\n## Installation\n\nSince flutter plugins don't have access to the regular `Activity` events,\nyou also, need to make a small change to the\n`android/app/src/main/kotlin/.../MainActivity.kt` file in your project.\n\nJust replace `FlutterActivity()` by `KeyboardPluginActivity()`.\n\nHere's what it should look like:-\n\n```kotlin\nimport android.os.Bundle\nimport com.pycampers.keyboard.KeyboardPluginActivity\nimport io.flutter.plugins.GeneratedPluginRegistrant\n\nclass MainActivity : KeyboardPluginActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        GeneratedPluginRegistrant.registerWith(this)\n    }\n}\n```\n\n---\n\nThen just follow the regular plugin installation on [dart pub](https://pub.dartlang.org/packages/keyboard/#-installing-tab-).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientifichackers%2Fflutter-keyboard-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscientifichackers%2Fflutter-keyboard-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientifichackers%2Fflutter-keyboard-plugin/lists"}