everytime i create a project and i run pubspec.yaml
this file gets generated automatically
generated_plugin_registrant.dart
this file was generated as soon as i added my pubspec.yaml from a different project and run pub get what should i do to remove this problem and what does it mean to have this file can i delete it and continue with my project?
generated_plugin_registrant.dart
is an automatically generated file that is required to compile your Flutter project as a web application:
This file generated_plugin_registrant. dart exists only to support the web. It exists if Flutter is web-enabled and there is at least one package that has asked for it.
Source
If you're not using Flutter to create a web application, you could drop the web support with the following command:
flutter config --no-enable-web
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With