flutter-moum / flutter_hardware_buttons

Flutter plugin for detecting all hardware buttons
MIT License
37 stars 47 forks source link

Detect volume raising and falling edge #54

Open avafab opened 3 years ago

avafab commented 3 years ago

would it be possible to emit an single event when volume button goes from not pressed to pressed (raising edge) and the way round (when a button goes from pressed to not pressed)? I am developing a stopwatch timer and it is important to catch the raising and fallinge edges.