I follow this page : https://firebase.flutter.dev/docs/overview/#initializing-flutterfire
Then I type the instruction:
await Firebase.initializeApp();
Like in the documentation, I have the error: 'Undefined name 'Firebase'. However, I the import is present in my file:
import 'package:firebase_core/firebase_core.dart';
Plus, when I type FirebaseApp in place of Firebase, FirebaseApp is recognized but not define initializeApp function.
Note that import is displayed as greyed import 'package:firebase_core/firebase_core.dart';
So Where is the problem ?