Why are all the automatic FlutterFlow imports not being recognized anymore when you create a new Custom Action?

Hi. For some reason, all the automatic FlutterFlow imports that show up when you create a new action like import '/backend/backend.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/custom_code/actions/index.dart'; // Imports other custom actions import '/flutter_flow/custom_functions.dart'; // Imports custom functions import 'package:flutter/material.dart';

have a red error line appear under them because they are no longer recognized. How do I resolve this issue? Should I just add the Pubspec Dependencies for all of them?

I have attached a screenshot of the issue

5
7 replies