-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Bugstatus: confirmedIssue has been reproduced and confirmed as a bug.Issue has been reproduced and confirmed as a bug.
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 making an app state action block with the parameter "context" (string), the application does not complain, but it however fails when trying to build, because action blocks uses "buildContext context" as a parameter.
here is the parameter definitions of the action block I made that made the build fail:
Future<List?> goalGenerator(
BuildContext context, {
String? context,
})
Expected Behavior
Should be an error saying "context" is not a legal parameter name.
Steps to Reproduce
- create app action block.
- make a parameter called "context"
- Build -> build will fail
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT40sPLl5bdirtdH0bjLYPBp9QUjQG42ULsZ1u17aDcsfIj2B+wyaeLRQBZpZOGkSmxlKEWL+WAHwM7KvdrPUe4BNROVY4h5z6V+QwLicFu/aoSyDs2sZmh6QJhgJ3a10aSzkSZ4HNVpSVoQ6mWDNtiRcCzsJ5P4Zwh9f6PHaOI=
Visual documentation
not needed
Environment
Not relevantAdditional Information
No response
Metadata
Metadata
Assignees
Labels
Bugstatus: confirmedIssue has been reproduced and confirmed as a bug.Issue has been reproduced and confirmed as a bug.