Colors getters not defined in the class "FlutterFlowTheme"

I started to use Flutterflow this afternoon, so my question may be silly. Apologies for that.

I have imported the robin.todo app and tried building it without success.
I can't solve the build error I get when building for a test run. I get plenty of theme color related errors. I have checked all the colors are defined in the theme settings / Colors tab.

Here are the first 3 errors messages I get:

lib/main.dart:208:55: Error: The getter 'primaryBlack' isn't defined for the class 'FlutterFlowTheme'.

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

Try correcting the name to the name of an existing getter, or defining a getter or field named 'primaryBlack'.

backgroundColor: FlutterFlowTheme.of(context).primaryBlack,

^^^^^^^^^^^^

lib/pages/splash_screen/splash_screen_widget.dart:141:53: Error: The getter 'primaryBlack' isn't defined for the class 'FlutterFlowTheme'.

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

Try correcting the name to the name of an existing getter, or defining a getter or field named 'primaryBlack'.

backgroundColor: FlutterFlowTheme.of(context).primaryBlack,

^^^^^^^^^^^^

lib/pages/splash_screen/splash_screen_widget.dart:146:47: Error: The getter 'primaryBlack' isn't defined for the class 'FlutterFlowTheme'.

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

Try correcting the name to the name of an existing getter, or defining a getter or field named 'primaryBlack'.

color: FlutterFlowTheme.of(context).primaryBlack,

^^^^^^^^^^^^

1
2 replies