Description
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 custom Data Type imported from a library project (e.g., institucionTemplateDT), it is incorrectly recognized as an Integer when passed as a page parameter.
Inside the parameter definition UI, the correct Data Type appears selectable. However, once the parameter is used in the runtime preview or binding, it behaves as if it were a primitive value (Integer) instead of the expected complex object. This causes runtime errors and prevents proper data passing between pages.
Expected Behavior
Imported Data Types should retain their structure and be usable in page parameters just like local Data Types. Specifically:
The parameter should appear and behave as a structured object of the defined Data Type.
Binding and navigation should treat the parameter as an object, not as a primitive.
Steps to Reproduce
- Create a new blank project.
- Convert it to a library project.
- Create a custom Data Type (e.g., institucionTemplateDT) in the library.
- Publish the changes.
- Create a new blank test project.
- Import the library as a dependency.
- Create a new page that accepts a page parameter of type institucionTemplateDT.
- On the main page of the test project, add a button.
- Add a Navigate action from the button to the new page, passing an object for the parameter.
- Run the project and click the button.
- Observe that the parameter is treated as an Integer, not as a structured object.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT4WlcmAsIh2rsdY7rqBYPlagiQsJlw1bZ03lMNxTks0IqrnOrYPXfikSEpWZ9+kTHxcL2D9rD007s6MhtnuA+UpOROabKY9/6p2Sg3MYEKmVbqXC86ZdmsnL5pJJVyY0cORkCN+AMFtWiUQ20+qB+nLZDbUNLrGIVQjLv+iVbPDp3eqQ0SLb3kNh1JWeC/v
Visual documentation
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 blocks the ability to modularize UI into libraries and reuse complex data structures. It forces a workaround using App State or custom serialization, which defeats the purpose of Data Type reuse across projects.