Skip to content

Custom Widget Callback Param Not Able To Be Used in Widget Itself (only in Action Flow Editor) #6947

@sgardoll

Description

@sgardoll

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

A custom widget with an action callback that includes a string parameter cannot use that string parameter as an input parameter within the widget itself. You can only use it within the Action Flow Editor (to display a snack bar for example).

Expected Behavior

I would have expected to be able to use the string to update the widget itself.

Steps to Reproduce

  1. Create a custom widget that accepts file drags.
  2. Implement a callback that returns the status as a string.
  3. Attempt to display the current status string within the widget.
  4. Observe that the status is displayed as a question mark instead of the actual string

Reproducible from Blank

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

Bug Report Code (Required)

IT4slc/qx89OxL1E7c+BcvlR/WIQG1g2ULgOscpCbw4bIYj2P4lzY876P1ZvYO2rYGNMeWKmp14C+dXIhvzlDfQoJTqafa5A/6t+eDnKUTqjSpuTF7mZOHFAM9ljCFeB5LWFgyZAIshZcVoa3WDzJd6ucBPdGIzTDGo8Sq/LZO4=

Visual documentation

https://www.loom.com/share/36369cee93b8404eac969cb347c3a60a

Environment

<img width="337" height="192" alt="Image" src="https://github.com/user-attachments/assets/6b101389-86f8-47d7-8b83-6798aacb4195" />

Additional Information

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions