Hello,
I am currently working on a large project where I am using a custom HTML editor. It worked flawlessly for weeks, but suddenly I am no longer able to compile the widget. I've spent hours trying to fix the issue, and even reverted to an older version (one week or several hundred snapshots back), but to no avail. I attempted to replace the HTML editor, but the others didn't work either. Then I realized that not even an empty widget will compile:
// Automatic FlutterFlow imports
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/custom_code/widgets/index.dart'; // Imports other custom widgets
import '/flutter_flow/custom_functions.dart'; // Imports custom functions
import 'package:flutter/material.dart';
// Begin custom widget code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
class NewTestWidget extends StatefulWidget {
const NewTestWidget({
Key? key,
this.width,
this.height,
}) : super(key: key);
final double? width;
final double? height;
@override
_NewTestWidgetState createState() => _NewTestWidgetState();
}
class _NewTestWidgetState extends State<NewTestWidget> {
@override
Widget build(BuildContext context) {
return Container();
}
}
This problem only occurs in this project. If I create a new project and add all my widgets, then they compile.
Is there any hope of saving my project? I can't create everything new from scratch...