FFDevEnvironmentValues not defined

Project Settings

I am trying to display the current environment in a Text widget, and get this error:

60 packages have newer versions incompatible with dependency constraints.Try flutter pub outdated for more information. Launching lib/main.dart on Web Server in debug mode...
Waiting for connection from debug service on Web Server...      lib/screens/chat/chat_widget.dart:9:8: Error: Error when reading 'lib/environment_values.dart': No such file or directory
import '/environment_values.dart';
       ^
lib/screens/chat/chat_model.dart:9:8: Error: Error when reading 'lib/environment_values.dart': No such file or directory
import '/environment_values.dart';
       ^
lib/screens/chat/chat_widget.dart:761:25: Error: The getter 'FFDevEnvironmentValues' isn't defined for the class '_ChatWidgetState'.
 - '_ChatWidgetState' is from 'package:one_mind/screens/chat/chat_widget.dart' ('lib/screens/chat/chat_widget.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'FFDevEnvironmentValues'.
                        FFDevEnvironmentValues.currentEnvironment,
                        ^^^^^^^^^^^^^^^^^^^^^^
Waiting for connection from debug service on Web Server...         51.2s
Failed to compile application.
What have you tried so far?

I've checked the documentation, no information on this.

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