skew method
Implementation
Future<void> skew(final double amount, {final Duration? duration, final 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;
}