hardware_buttons library
Classes
- HomeButtonEvent
- Home button event On Android, this gets called immediately after user presses the home button. On iOS, this gets called when user presses the home button and returns to the app.
- LockButtonEvent
- Lock button event
Properties
-
homeButtonEvents
→ Stream<
HomeButtonEvent> -
A broadcast stream of home button events
read-only
-
lockButtonEvents
→ Stream<
LockButtonEvent> -
A broadcast stream of lock button events
read-only
-
volumeButtonEvents
→ Stream<
VolumeButtonEvent> -
A broadcast stream of volume button events
read-only
Enums
- VolumeButtonEvent
- Volume button events Applies both to device and earphone buttons