Skip to content

[animation] using animations package with go_router package instead of Navigator.push() method #121929

@sepehr09

Description

@sepehr09

The animations package uses flutter default Navigator and when we use OpenContainer , it uses navigator.push()‍‍ method (refrence), so if you use default Navigator in flutter everything is ok. but if your app uses go_router package (MaterialApp.router()), the url won't changed when user opening screen with OpenContainer! even if i set routeSettings in OpenContainer.

I tried some tricks but not success. currently i have three options:

  1. use animations package with named routes with default flutter Navigator and leave the go_router package aside.
  2. use go_router but leave the animation package aside.
  3. maybe there are some solutions if i customize routeInformationParser & routerDelegate when i am using go_router but this solution is not easy & so far I have not succeeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.found in release: 3.7Found to occur in 3.7found in release: 3.9Found to occur in 3.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: animationsThe animations packagep: go_routerThe go_router packagepackageflutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy