fix: side panel animation (#3605)

* fix: side panel animation

* Fix: Side Panel Animation Changes

* Fix:Panel Animation

* fix:updated animation to easeOutQuad

* fix: updated animation to easeOutQuad

* Fix:Panel Side Animation

* fix:panel side animation

* chore: restore settings.json

---------

Co-authored-by: Richard Shiue <71320345+richardshiue@users.noreply.github.com>
This commit is contained in:
Sumit Banwakade 2023-10-18 13:18:26 +05:30 committed by GitHub
parent 966547faa0
commit f60462a853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,7 +255,7 @@ class DesktopHomeScreen extends StatelessWidget {
top: 0,
animate: true,
)
.animate(layout.animDuration, Curves.easeOut),
.animate(layout.animDuration, Curves.easeOutQuad),
bubble
.positioned(
right: 20,
@ -268,6 +268,7 @@ class DesktopHomeScreen extends StatelessWidget {
duration: layout.animDuration.inMilliseconds * 0.001,
closeX: layout.editPanelWidth,
isClosed: !layout.showEditPanel,
curve: Curves.easeOutQuad,
)
.positioned(
right: 0,
@ -279,18 +280,18 @@ class DesktopHomeScreen extends StatelessWidget {
.animatedPanelX(
closeX: -layout.menuWidth,
isClosed: !layout.showMenu,
curve: Curves.easeOutQuad,
duration: layout.animDuration.inMilliseconds * 0.001,
)
.positioned(
left: 0,
top: 0,
width: layout.menuWidth,
bottom: 0,
animate: true,
)
.animate(layout.animDuration, Curves.easeOut),
),
homeMenuResizer
.positioned(left: layout.menuWidth - 5)
.animate(layout.animDuration, Curves.easeOut),
.animate(layout.animDuration, Curves.easeOutQuad),
],
);
}