skew method
Implementation
Future<void> skew(double amount, {Duration? duration, Curve? curve}) async {
assert(0 <= amount && amount <= 1);
final double target = state!.isFront ? amount : 1 - amount;
await controller?.animateTo(target, duration: duration, curve: curve ?? Curves.linear).asStream().first;
}