I am trying to use firebase for my project. When I click on PUB GET, I get this error!
"Because firebase_auth >=3.5.0 depends on firebase_auth_platform_interface ^6.4.0 which depends on collection ^1.16.0, firebase_auth >=3.5.0 requires collection ^1.16.0. And because every version of flutter_test from sdk depends on collection 1.15.0, firebase_auth >=3.5.0 is incompatible with flutter_test from sdk. So, because quick_chat depends on both flutter_test from sdk and firebase_auth ^3.5.1, version solving failed. pub get failed (1; So, because quick_chat depends on both flutter_test from sdk and firebase_auth ^3.5.1, version solving failed.)"
Pubspec.yml file:
dependencies:
flutter:
sdk: flutter
firebase_auth: ^3.5.1
firebase_core: ^1.20.0
cloud_firestore: ^3.4.1
How do I solve this?