Skip to content

code file custom class : method with dynamic parameter are not recognized #6825

@alcaribou

Description

@alcaribou

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

In custom class (code file), method with dynamic parameters are not recognized on the right of the editor :

Image

Moreover, they are not available in action when trying to execute a method on an instance of the class. Only those listed on right are selectable :

Image

Remark: they are recognized inside the class with editor choices on "this." , or in custom action (with import '/custom_code...') in editor choices on instance. (?)

Expected Behavior

method should be available in action choices list for class instance

Steps to Reproduce

  1. create in code file part a simple class with a method with dynamic parameter and a method with int parameter
  2. build the class and see that on the right only the method with "int" parameter is recognized + automatic "toString" method
  3. create a app variable typed with this custom class
  4. create an action set app statement on the app variable to create an instance
  5. add a custom class action call method, and select the app variable no further changes and select the method : only the method with "int" parameter is available + the automatic "toString". The method with dynamic parameter is not available

Reproducible from Blank

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

Bug Report Code (Required)

IT8wlsn1z4pNj7xF7aXiacdFimAUJjM6RY03juxuWRAgfY/qPbN/PsnRU1ZpZ+6oSmw7Ikap+V4KzPCPhIbtUscBNUmAbKFz3JVqaQ6XQl+tVbLREZGaZHxtI9lXGnasyJm3vhRsA+FvW04u3UOEfeq/dAnvQ+fBDjBMHvH9Ltv/omi8G3jrLjsy+zMXJR7eTI5ODEz25eKMrop5yfj/0w==

Visual documentation

see screen shots in problem description

Environment

- FlutterFlow version: 6.4.81
- Platform: web
- Browser name and version: chrome
- Operating system and version affected: not relevant

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: needs triageA potential issue that has not been confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions