Context can't be identified or defined in FlutterFlowTheme.of(context) for color map function I'm creating, I've tried a couple things but it just makes it so the "function is empty and cannot be parsed" any idea how to return a them color and fix the context issue? I'm trying to return a color theme and can't seem to fix this issue.
This is the error I get
These are the Quick Fixes and they either do nothing or make it so I can't save the function due to parsing error.