flip method
percent
is the position for flipping at the bottom.
tilt
is the a
of y = a*x + b
(line equation).
Implementation
Future<void> flip(double percent, double tilt) {
return _queueAction(() {
if (_disposed) return;
controller.beginDraw();
_render.draw(1 - percent, tilt);
controller.endDraw();
});
}