dependency has flutterflow_ui: ^0.3.1
import 'package:flutterflow_ui/flutterflow_ui.dart'; is there Flutter Error: ----------------------------------------------------------- undefined class FlutterFlowTheme lib/home_page_widget.dart:43:26: Error: The getter 'FlutterFlowTheme' isn't defined for the class '_HomePageWidgetState'. - '_HomePageWidgetState' is from 'package:flutterflow_t_1/home_page_widget.dart' ('lib/home_page_widget.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'FlutterFlowTheme'. backgroundColor: FlutterFlowTheme.of(context).primary, ^^^^^^^^^^^^^^^^ ------------------------------------------------------------------- While trying to update packages ------------------------------- flutter pub outdated Showing outdated packages. [*] indicates versions that are not the latest available. Package Name Current Upgradable Resolvable Latest direct dependencies: collection *1.18.0 *1.18.0 *1.18.0 1.19.0 dev_dependencies: all up-to-date. -------------------------------------------------------------------- child: Scaffold( key: scaffoldKey, backgroundColor: FlutterFlowTheme.of(context).primary,
What is causing this error and how to resolve? I've just started FlutterFlow. Can someone help please? Thanks.