If that happens on iOS/macOS you have to delete the GoogleService-Info.plist from the XCode project "Copy bundle resources" build phase. It's added automatically when you do flutterfire configure but in your main.dart file this plist is already created from the Firebase initialization code:
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);