GeekyAnts / flutter-starter

A Flutter starter-kit for production-level apps.
https://flutter-starter.geekyants.com/
MIT License
442 stars 95 forks source link

Not compiling #23

Open banerjed opened 2 years ago

banerjed commented 2 years ago

+++++Main app pub get+++++ Running "flutter pub get" in app... 1,253ms The plugin cloud_firestore uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration. +++++Main app run+++++ The plugin cloud_firestore uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration. Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". Launching lib/main.dart on sdk gphone x86 arm in debug mode... Plugin project :firebase_core_web not found. Please update settings.gradle. Plugin project :firebase_auth_web not found. Please update settings.gradle. ../../flutter-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/uuid_enhanced-3.0.2/lib/uuid.dart:9:7: Error: 'UnmodifiableUint8ListView' is restricted and can't be extended or implemented.

../shared/lib/modules/authentication/models/firebase_user.dart:8:10: Error: The parameter 'uid' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. Try adding either an explicit non-'null' default value or the 'required' modifier. this.uid, ^^^ ../shared/lib/modules/authentication/models/firebase_user.dart:9:10: Error: The parameter 'email' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. Try adding either an explicit non-'null' default value or the 'required' modifier. this.email, ^^^^^ ../shared/lib/modules/authentication/models/firebase_user.dart:10:10: Error: The parameter 'token' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. Try adding either an explicit non-'null' default value or the 'required' modifier. this.token, ^^^^^ ../shared/lib/modules/authentication/bloc/authentication/authentication_event.dart:21:30: Error: The parameter 'email' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. Try adding either an explicit non-'null' default value or the 'required' modifier. UserSignUp({@required this.email, this.password}); ^^^^^ ../shared/lib/modules/authentication/bloc/authentication/authentication_event.dart:21:42: Error: The parameter 'password' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. Try adding either an explicit non-'null' default value or the 'required' modifier. UserSignUp({@required this.email, this.password}); ^^^^^^^^ ../shared/lib/modules/authentication/bloc/authentication/authentication_event.dart:30:29: Error: The parameter 'email' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. Try adding either an explicit non-'null' default value or the 'required' modifier. UserLogin({@required this.email, this.password});