Persistent Custom Code Compilation Error: FFAppState / flutter_flow_util.dart not found #5948
Open
1 of 2 tasks
Labels
status: not a bug
This is not a bug.
Uh oh!
There was an error while loading. Please reload this page.
Can we access your project?
Current Behavior
I am experiencing a recurring and persistent custom code compilation error in my project (OGSnakeGame). The error occurs specifically in my 'drawGameBoard' custom action. Despite numerous troubleshooting attempts, the error returns immediately or shortly after being cleared. I am using the FlutterFlow Desktop Application.
Expected Behavior
The 'drawGameBoard' custom action should compile without errors, and the 'Issues' panel should show 0 errors. The app should then be able to run in Test Mode, displaying the game board with the snake and food.
Steps to Reproduce
Open my project https://app.flutterflow.io/project/o-g-snake-game-1n6g59?tab=widgetTree&page=OGSnakeGame Maps to the 'Custom Code' section. Select the 'drawGameBoard' custom action. Observe red highlights on 'import 'package:flutter_flow/flutter_flow_util.dart';' and usage of 'FFAppState()'. Observe the 'Issues' panel showing 'Errors found in custom action 'drawGameBoard''. Attempts to resolve (re-saving, app restarts, deleting/recreating custom action, re-adding to page actions) provide temporary or no relief.
Reproducible from Blank
Bug Report Code (Required)
IT4wiefl6otPxLhY1c/tbfkwiiQvIjo3a78njMF9Sis8Gr7nP4kUWMzBUBFUOemlTVZYJk2JvDsX/MnIvfOXG/crFEiYbqpnzKlqTw6VTj2gR5SPC5S3b0B8DexYfVfH5KTUviYnNtthWVo91F2EAeeREzbDQoTFCkUBR+aeXdeK2SrDX1iXc2URm05KZDPz
Visual documentation
Environment
Additional Information
This issue is critically affecting my ability to build and test my game. The 'drawGameBoard' action is fundamental to rendering the game's visuals (snake and food). Without it compiling, I cannot effectively develop or test my game. My goal is to create a fully functional snake game in FlutterFlow.
The text was updated successfully, but these errors were encountered: