When running Firebase on android, there is no problem, but when debugging on the web (chrome or edge), it doesn't work... in the Debug Console a DART_SDK.JS problem notification appears, like this:
"Locations: No module for http://localhost:53xxx/dart_sdk.js"
This notification only appears when running at Firebase.initializeApp();
My Code:
void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); runApp( MaterialApp( title: "Firebase", home: MyApp() ) ); }