Skip to content

Crash when using transition in Navigate action inside library module #6034

Open
@diegoserranobst

Description

@diegoserranobst

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When using a Navigate To action inside a library module and setting a Transition Type other than Default, a runtime error is thrown: TypeError: Instance of 'TransitionInfo': type 'TransitionInfo' is not a subtype of type 'TransitionInfo'

The error occurs regardless of the transition selected (Slide, Fade, etc.). It only works when Default is selected.

Screenshots attached.

Expected Behavior

Navigation actions using custom transitions in library modules should work without throwing runtime exceptions.

Steps to Reproduce

1.- Create a new project and set it as a library. 2.- Add a module with action parameter. 3.- Add a button with action callback. 4.- Create a page using that module. 5.- For the action, pass a Navigate To with any transition type except Default. 5.- Run the app.

The navigation crashes at runtime.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4ClMmAvJd1xOFG1pDuY+9amiA5KVM2RYERkNV9ZEs3J5PMC+wIZ/f7XFRuTde0Twl+eVmZrzkeptHemvLxJfEBPRWeRotx1KhuQzzMXkOmRaq0CrmZdG5/DcVWfVSP4ZiNqhFQXcZuW3wc2jqAPue9SgPAJ4DbO21ALvKhLZOK2SrDX1iXc2URm05KZDPz

Visual documentation

Image

Screenshot of Navigate action config (with Slide Left)

Screenshot of runtime error

Image

Environment

- FlutterFlow version: v6.0.21 (released June 17, 2025)
- Platform: Web
- Browser: Chrome 125.0.0.0
- OS: Linux Mint 21.3
- Flutter version: 3.27.3

Additional Information

This bug prevents the use of any non-default page transitions in modules built as libraries, impacting visual consistency and reusability across projects.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions