artur-ios-dev / flutter_control_pad

A control pad with a virtual joystick and buttons.
https://pub.dev/packages/control_pad
GNU General Public License v3.0
40 stars 24 forks source link

Getting a stream from the joystick view #29

Closed Drkstr closed 4 years ago

Drkstr commented 4 years ago

Is there a way I can get a continues stream of data(angle and distance) from the joystick view instead of just the angle and distance when there is a change in the joystick position?

artur-ios-dev commented 4 years ago

You mean you want to periodically receive a value in the stream? I am not sure if it will be useful to implement that in the Joystick itself. You can do that in your code on your own.