flame-engine / flame-engine/flame

`HasKeyboardHandlerComponents` should be replaced a `KeyboardEventsDispatcher`

Open
#2,748 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
10.8k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
21

Description

# What could be improved
Similarly to the `MultiTapDispatcher` a similar one should be created for keyboard events.

# Why should this be improved
So that the user doesn't have to manually add the `HasKeyboardHandlerComponents` mixin to their game.

# Any risks?
No, it will be a breaking change though, but very simple for the user to migrate since they'll just have to remove the mixin.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.