-.-
All checks were successful
Flutter Schmutter / build (push) Successful in 3m14s

This commit is contained in:
Flummi 2025-06-04 09:33:27 +02:00
parent 003797981e
commit c236049c0a

View File

@ -31,7 +31,7 @@ class PageTransformer extends StatelessWidget {
value = (1 - (value.abs() * 0.5)).clamp(0.0, 1.0); value = (1 - (value.abs() * 0.5)).clamp(0.0, 1.0);
} }
return Transform( return Transform(
transform: Matrix4.identity()..scaleByDouble(value, value, value, 1), transform: Matrix4.identity()..scale(value, value),
alignment: Alignment.center, alignment: Alignment.center,
child: child, child: child,
); );