Issue on editing the Main Function in FlutterFlow App

Dear FlutterFlow Community,

I hope this message finds you well. I am currently working on a FlutterFlow app and encountered an issue while attempting to edit the main function. I am using the [feedback package](https://pub.dev/packages/feedback) in my app and have created a custom function. However, when I try to wrap this custom function inside the FlutterFlow-provided main function, instead of MyApp() in the runApp() method, I encounter a "Cannot edit in read-only editor" message, preventing me from making the necessary changes.

Here is a snippet of the code I am working with:

I would greatly appreciate any insights or guidance on how to overcome this issue. If anyone has experience with the FlutterFlow community or a similar situation, your assistance would be invaluable.

Thank you in advance for your time and support.

1
2 replies