This commit is contained in:
parent
003797981e
commit
c236049c0a
@ -31,7 +31,7 @@ class PageTransformer extends StatelessWidget {
|
||||
value = (1 - (value.abs() * 0.5)).clamp(0.0, 1.0);
|
||||
}
|
||||
return Transform(
|
||||
transform: Matrix4.identity()..scaleByDouble(value, value, value, 1),
|
||||
transform: Matrix4.identity()..scale(value, value),
|
||||
alignment: Alignment.center,
|
||||
child: child,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user