x property

double x
getter/setter pair

The current tilt state for each axises.

Updated each time the client widget is rebuilt by the StreamBuilder, itself triggered by events sent by the gyroscopeEvents stream.

Implementation

double x = 0, y = 0;