media_key_detector library
Plugin which allows you to detect the media buttons on the keyboard, which does not fire for regular key events on MacOS
Classes
- MediaKeyDetector
- Contains methods to add/remove listeners for the media key
Enums
- MediaKey
- An enum representing the media key detected
Properties
- mediaKeyDetector → MediaKeyDetector
-
Global singleton instance of the MediaKeyDetector
final
Functions
-
getPlatformName(
) → Future< String> - Returns the name of the current platform.