mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt: matrix anim (#1829)
This commit is contained in:
committed by
GitHub
parent
4ac855d393
commit
8234b7ac92
@@ -48,9 +48,7 @@ class AppBarAni extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SlideTransition(
|
||||
position: isTop
|
||||
? controller.drive(_topPos)
|
||||
: controller.drive(_bottomPos),
|
||||
position: controller.drive(isTop ? _topPos : _bottomPos),
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
gradient: isTop ? _topDecoration : _bottomDecoration,
|
||||
|
||||
Reference in New Issue
Block a user