speed property

ValueNotifier<double> speed
final

The speed of the player. It's between 0.5 and 2, and defaults to 1.

Implementation

final speed = ValueNotifier(1.0);