Can't run app in build/test mode due to "Error: The getter 'lineColor' isn't defined for the class 'FlutterFlowTheme'"

Troubleshooting

Attempted to try and open the build mode and later test mode, but both fail due to this code error:

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:

lib/user_info/user_info_widget.dart:178:59:

Error: The getter 'lineColor' isn't defined for the class 'FlutterFlowTheme'.

- 'FlutterFlowTheme' is from 'package:test/flutter_flow/flutter_flow_theme.dart' ('lib/flutter_flow/flutter_flow_theme.dart').

color: FlutterFlowTheme.of(context).lineColor,

^^^^^^^^^

Error: Compilation failed.

#0 RunResult.throwException (package:flutter_tools/src/base/process.dart:122:5)

Error: Failed to compile application for the Web.

I am a first time user with no coding experience, so asking for help on how to solve this problem.

What have you tried so far?

I've read a few things and most I can gather is that I need to define said lineColor. I've looked around the code in the developer menu, and so far I can find no trace of lineColor anywhere (CRTRL + G then lineColor).

Thing is, if I should define it, where in the world do I put it down specifically? Please treat me as if I'm tech illiterate, I do not know the slightest thing about code.

Did you check FlutterFlow's Documentation for this topic?
No
1
1 reply