Open snoopyxz opened 1 year ago
The above error has nothing to do with this.
There is big flaw in here. In the code, mostly @TheAlphamerc has used UserModel for almost everything which always return null. When you run it debug mode, you will find that the usermodel always throws null check operator. The thing is he doesn't need to use that. The firebase provides all the functionality by using the method user.
i am also facing this problem nothing is show like in this video but didn't see any error in debug console anyone know the solution for this problem kindly reply me or send the link where it have solution
As for the error that is displayed in the above image, it occurs due to incompatible versions of Kotlin during compilation. If you are still facing this issue you can change the kotlin version in the way mentioned below go to android -> settings.gradle In the plugins section of the file plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "7.3.0" apply false id "org.jetbrains.kotlin.android" version "kotlin version here" apply false } Enter the desired kotlin version Note: This method is for newer version of flutter as old methods included modifying the kotlin version in your build.gradle file. My flutter version while writing this answer : Flutter 3.22.2 • channel stable
Hi, I build the app with the instructions provided when I finish building the app the app don't load nothing I can create my account but do other things I can't.
https://github.com/TheAlphamerc/flutter_twitter_clone/assets/104867141/1a80e191-41fb-46b9-9198-8cbe92259441
I got this error when building maybe it's because of that can u help me