chore: Disable page transition in column mode
This commit is contained in:
parent
15c6926fe1
commit
f01d507e19
1 changed files with 1 additions and 4 deletions
|
|
@ -445,13 +445,10 @@ abstract class AppRoutes {
|
|||
Widget child,
|
||||
) =>
|
||||
FluffyThemes.isColumnMode(context)
|
||||
? CustomTransitionPage(
|
||||
? NoTransitionPage(
|
||||
key: state.pageKey,
|
||||
restorationId: state.pageKey.value,
|
||||
child: child,
|
||||
transitionsBuilder:
|
||||
(context, animation, secondaryAnimation, child) =>
|
||||
FadeTransition(opacity: animation, child: child),
|
||||
)
|
||||
: MaterialPage(
|
||||
key: state.pageKey,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue