Hey bro, I had to tell you that after having seen many video series over the years from mid 2000's on RUclips, this is hands down one of the best tutorial series. Hats off to this amazing effort of yours. I was wondering if you do AWS backend with Mongodb and if there is any plan on making a series. Big fan!
Wow, thank you so much dear for such kind words. I am currently about to launch Admin Panel of this Playlist on Patreon and will share the updates. After that I will try to for these suggested platforms.
Hello sir after watching thoroughly the entire video this are the parts you didn't show please consider to show them in the next tutorial before proceeding so that we can also test our codes inside authentication repository and user repository 1. TFirebaseAuthException, 2. TFirebaseException 3. TFormatException, 4. TPlatformException inside signup controller 1. VerifyEmailScreen (or is it the same as VerifyPasswordScreen that we created sometime back?) 2. docerAnimation (Its not in the startup kit or any other previously shared kit) please remember to address that on the next video. thank you
I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
Is there a fix for the latest connectivity_plus for this line? At 17:14, this line of code isn't working -> _connectivity.onConnectivityChanged.listen(_updateConnectionStatus); Error: A value of type 'StreamSubscription' can't be assigned to a variable of type 'StreamSubscription' Proposed solution was to use the version connectivity_plus ^5.0.1 as in the tutorial. How can i update the code to support new version, it seems like it is expecting a list "List
If you have updated your Connectivity Plus package then now you have to change your ConnectivityResult to a List as the package did some changes in the way we can use package. CODE __ import 'dart:async'; import 'package:get/get.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:flutter/services.dart'; import '../popups/loaders.dart'; /// Manages the network connectivity status and provides methods to check and handle connectivity changes. class NetworkManager extends GetxController { static NetworkManager get instance => Get.find(); final Connectivity _connectivity = Connectivity(); late StreamSubscription _connectivitySubscription; final RxList _connectionStatus = [].obs; /// Initialize the network manager and set up a stream to continually check the connection status. @override void onInit() { super.onInit(); _connectivitySubscription = _connectivity.onConnectivityChanged.listen(_updateConnectionStatus); } /// Update the connection status based on changes in connectivity and show a relevant popup for no internet connection. Future _updateConnectionStatus(List result) async { _connectionStatus.value = result; if (result.contains(ConnectivityResult.none)) { TLoaders.customToast(message: 'No Internet Connection'); } } /// Check the internet connection status. /// Returns true if connected, false otherwise. Future isConnected() async { try { final result = await _connectivity.checkConnectivity(); if (result.any((element) => element == ConnectivityResult.none)) { return false; } else { return true; } } on PlatformException catch (_) { return false; } } /// Dispose or close the active connectivity stream. @override void onClose() { super.onClose(); _connectivitySubscription.cancel(); } }
Great Video Sir. but I think you forgot to show TException files which are 3 and also PopScope, it would be great help if u show us in the next video. or else we are getting so many errors. Thankyou sir.
Thank you 🙏. In the beginning of this video I added a note that Exceptions will be in the next video. PopScope is a built-in class from Flutter. So, just use it. 🎉😃
hello sir, i am so sorry if i botherd you , when i click on Create account button , nothing happened , i add the key and on pressed () => controller.signup,, i leave the Field empty , i got nothing about field is Empty , and i leave uncheck box , SnackBar not shown too, but if i disconnect internet i got the error internet is not connected , so SnackBar work fine , the problem with Create account button
Make sure that it correctly listens to connectivity changes and only triggers the Snackbar when there's an actual disconnection. Sometimes, it might show a no-connection status during app startup due to how the listener is set up. If this not helps, you can contact us on whatsapp
At 17:14, this line of code isn't working -> _connectivity.onConnectivityChanged.listen(_updateConnectionStatus); Error (A value of type 'StreamSubscription' can't be assigned to a variable of type 'StreamSubscription'.)
@@JirolBikes Hi, I found the solution already. In your pubspec.yaml file, you should not add the latest connectivity_plus, instead, you should add the same version in the video which is connectivity_plus ^5.0.1
Hi bro been learning through your tutorial very helpful understanding flutter but you didn't show us the TFirebaseAuthException code so we can follow suit, you skipped those custom exceptions please show us so we can learn in full and also the usermodel too, you didn't show us either.
Sir whenever I start performing any action through firebase. This error show me. Oh snap. (Type Authentication Repository is not a subtype of Type Authentication Repository in Type Cast Ware). I am very upset with this error. If you see this error please reply.
I'm sorry to hear about the error you're facing with Firebase. It seems like a type casting issue. Have you tried reviewing your code where you're casting types? Sometimes a careful review or adjusting how types are cast can resolve such errors. If your error didn't resolve then I am here for your help[
Great explaination brother ❤. Some of the files you skipped to show us and that are giving me errors 1) PopScope form FullScreenLoader 2) TFirebaseAuthException, TFirebaseException, TPlatformException, TFormatException from AuthenticationRepository This is the first time I got errors in this playlist please kindly reply with the solution brother🥺, that would be a great help.
Thank you 🙏. In the beginning of this video I added a note that Exceptions will be in the next video. PopScope is a built-in class from Flutter. So, just use it. 🎉😃
I got a problem when I click on create account it shows the error snack bar i think you didn't show us the rest of user model file i hope to answer please
I'm sorry to hear that you're encountering an error when trying to create an account. To better assist you, could you please provide more details about the error message displayed in the Snackbar? This will help us identify the specific issue and provide you with an accurate solution. Thank you for your patience!
@@CodingwithT i fix it but in Google sign in i encounter a problem when i tap the command that you provided to get the sha-1 and sha-256 it show me invalid keystore format so i triés to generate a keystore file in Android/app and i got the keys but it stills not working it shows a popup to choose account and then when i click on an account it stops loading and shows a snack bar error sign in failed please help
I apologize for the oversight. I'll make sure to create a video about loaders.dart and include it in the startup kit for your convenience. Thank you for bringing this to my attention!
Hello Sir, i not clear too much concepts beacause i litterly starting flutter can suggesst any more tutorial so that i learn all concept of this video very deeply and learn how things work and thank you for good video content
Hello Sir, I have been following you from the video one of this playlist and I don't have any errors in my code . Just one issue after clicking on signup my screen is stuck on docer animation and I am not getting any errors in log , kindly help It has been a great playlist I have learned a lot
When I debugged my app , it is not going ahead of if(signupFormKey.currentState!.validate()) return; this line@@CodingwithT fixed it "!" was missing in start of this line thanks for support
I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
I have the same error, once i removed the 'finally' from the exception the screen got stuck on the docker animation without going to the verifyMailScreen. If you fixed it kindly tell me how.
Greetings! I wanted to take a moment to extend my appreciation for your spectacular efforts. I would like to know your opinion on using abstraction to hide the implementation of controllers and how the app responds to responsiveness for multiple screens.
Hi 👋, Thank you for your kind words. Abstraction does many other benefits as well also useful for large and projects which have a team. To make a design response you can try Expanded and Flexible with Media Query to achieve that. Which we will learn in the next admin panel playlist where I'll create a design for mobile tablet and desktop. Currently app design is adaptive for different devices.
I have a question: Can we use the built-in function in Dart String for validations? such as string.isEmail, string.isPhoneNumber? and thank you for your perfect tutorial 👌
When i uncheck the checkbox field and press on create account. it gives me warning message and redirect to email verification screen and i add return after warning message same problem
Salam. I really like the way you explain things but in my case what I would like to do is to always use firebase for authentication, but when I register a new user, I want this information must be saved in the database of an API that I set up and not in Firebase directly.
Hello, I'm having issues with the animation for processing information, it's not showing. Similarly for the success snackbar after the account has been created.
What if we just need to sign in?, for example like an internal application in a company whose account is created by an admin. Can I create an account directly in Firebase?
hello brother,First i want to thank you for your effort and your good work, i don't have the docerAnimation image in my TImages can u please give me where i can get it from ? you used it at 16:16 Thanks in advance
Sir, I am having this is it to be concerned? Note: C:\Users\Dell\AppData\Local\Pub\Cache\hosted\pub.dev\cloud_firestore-4.14.0\android\src\main\java\io\flutter\plugins\firebase\firestore\FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details
I am sorry for your error. This is because you are not using latest dependencies. Use command flutter pub upgrade. Or go to pub.dev and find the latest version.
First of all check that you are connected to firebase. If it is connected then debug the code and check where the issue is. If the issue persists you can contact us on whatsapp
@@CodingwithT Sure man you didn't add up the popups files TFullScreenLoader in starter kit do we have to buy it because m stuck in this section. BIG UP BRO
When i uncheck the checkbox field and press on create account. it gives me warning message and redirect to email verification screen How to handle this?
I have give the correct code but I have Unexpected Null value from validation I will setup the firebase correctly from I watch your video but I have this error why? I hope to answer please
It seems there might be an unexpected null value triggering the validation error. Check your code thoroughly, especially where you're handling form validation. Ensure that all required fields are properly initialized and that your Firebase setup is correct. If the issue persists, consider debugging the specific part of your code where the validation error occurs.
Sorry in advance sir, but I didn't find docer animation in the free starter kit even though I downloaded the latest one. can you tell me where the file is? Thank you sir@@CodingwithT
Sorry sir, it looks like I didn't see it at all. I've searched but can't find it sir, can you tell me which animation it is. Thank you sir 🙏🙏@@CodingwithT
I have an issue, since completing video 34 it now shows a black screen only and in the output log reads: W/Choreographer(11099): Frame time is 0.047482 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. Also before this it seems to be stuck on 4053 I/ViewRootImpl@602f9d6[MainActivity](18014): [DP] cancelDraw null isViewVisible: true, Ant suggestions appreciated thanks.
Hii sir. Hope fully helped this video but form validation and checkbox validate after i put create account button i got some error this "use jsonreader.setlenient(true) tp accept malformed JSON at path $ " this error i got how to handle this sir. And also my usercredentials does not saved in firestore database. Can you explain sir
@@CodingwithT Sir, helper classes, model classes, controller classes, and storage classes are pain points for Flutter beginners. It's not that they don't know how to write them, but rather that they don't know how to write them better. I hope there can be detailed explanations.Thank you for your selfless dedication.
I am getting this error when following your video ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
This is due to lottie package.. or may be you are not passing animation in SignupController.dart AFullScreenLoader.openLoadingDialog('We are processing your information...',AImages.docerAnimation); so solution: 1) passes animation or 2) remove openLoadingDialog and also remove stoploading cases it will solve the issue.
I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
It sounds like you're encountering an issue with the onInit function. Could you please provide more details about the problem you're facing? This will help me assist you more effectively.
@@CodingwithT same here error on this line to be particular "_connectivitySubscription =_connectivity.onConnectivityChanged.listen(_updateConnectionStatus);"
Thank you for this hands on Project❤.I have one doubt the PopScope is a inbuilt function but if I'm using that it display an error.can you please help to resolve that error
It seems like there might be a string or variable in your code that is expecting a value but isn't being assigned one, resulting in a null value. Make sure to check your code for any instances where a value might be missing. If you need further assistance, feel free to provide more details about the specific error you're encountering.
type '(ConnectivityResult) => Future' is not a subtype of type '((List) => void)?' in type cast this error occur on this line _connectivitySubscription=_connectivity.onConnectivityChanged.listen(_updateConnectionStatus); please give solution
Bonjour, je suis rendu à l'étape des controllers mais j'ai un champ avec déjà un Controller pour choisir la ville et un champ avec un bouton et un texte comment faire cela ? : TextFormField( controller: _cityController, onTap: _showCityPicker, readOnly: true, // Empêche l'ouverture du clavier decoration: const InputDecoration( labelText: 'Sélectionnez votre ville et votre quartier', prefixIcon: Icon(Icons.location_city_sharp), ), ), et if (_selectedFile != null) ...[ const SizedBox(height: ESizes.defaultSpace), Text( 'Justificatif téléchargé : ${_selectedFile!.path.split('/').last}', style: Theme.of(context).textTheme.bodyMedium, ),
i can create account but the next screen for email verfiication does not appear. on the console, i have this [GETX] GOING TO ROUTE /VerifyEmailScreen [GETX] CLOSE TO ROUTE /VerifyEmailScreen. please support
Welldone sir, i get lost at the Network_manager . I am having issues with _connectivityStatus i need to create the class and also the _connectivity.onConnectivityChanged.listen(_updateConnectionStatus) is showing error
@@CodingwithT sir meny package bi new add kia hai oske bawajod _connectivity.onConnectivityChanged.listen(_updateConnectionStatus_ ya error arha hai plss help me-kafi kosish ki hai error resolve nhi ho raha
Hey bro, I had to tell you that after having seen many video series over the years from mid 2000's on RUclips, this is hands down one of the best tutorial series. Hats off to this amazing effort of yours.
I was wondering if you do AWS backend with Mongodb and if there is any plan on making a series.
Big fan!
Wow, thank you so much dear for such kind words.
I am currently about to launch Admin Panel of this Playlist on Patreon and will share the updates.
After that I will try to for these suggested platforms.
@@CodingwithT I would happily subscribe once that is available. I hope you let me know when it’s shareable.
Hello sir after watching thoroughly the entire video this are the parts you didn't show please consider to show them in the next tutorial before proceeding so that we can also test our codes
inside authentication repository and user repository
1. TFirebaseAuthException,
2. TFirebaseException
3. TFormatException,
4. TPlatformException
inside signup controller
1. VerifyEmailScreen (or is it the same as VerifyPasswordScreen that we created sometime back?)
2. docerAnimation (Its not in the startup kit or any other previously shared kit)
please remember to address that on the next video. thank you
Exceptions are almost same but also I will add those files in the Free Starter kit so that you can download the Animations and Exceptions as well. 😀🎊
Did you add the animation file to the starter kit? If you added it, we can download and use it@@CodingwithT ❤
@@CodingwithT Where is docerAnimation?
@@alansomathew10 Do you have docerAnimation?
I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
You dont show the UserModel Code
big ❤ from Tunisia , mashalah brother keep going ✌👏👏👏
Thank you 😊😍
mechi shih l pfe?
chrit code t7bchi techri b 80dt
Is there a fix for the latest connectivity_plus for this line?
At 17:14, this line of code isn't working -> _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
Error: A value of type 'StreamSubscription' can't be assigned to a variable of type 'StreamSubscription'
Proposed solution was to use the version connectivity_plus ^5.0.1 as in the tutorial. How can i update the code to support new version, it seems like it is expecting a list "List
If you have updated your Connectivity Plus package then now you have to change your ConnectivityResult to a List as the package did some changes in the way we can use package.
CODE __
import 'dart:async';
import 'package:get/get.dart';
import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:flutter/services.dart';
import '../popups/loaders.dart';
/// Manages the network connectivity status and provides methods to check and handle connectivity changes.
class NetworkManager extends GetxController {
static NetworkManager get instance => Get.find();
final Connectivity _connectivity = Connectivity();
late StreamSubscription _connectivitySubscription;
final RxList _connectionStatus = [].obs;
/// Initialize the network manager and set up a stream to continually check the connection status.
@override
void onInit() {
super.onInit();
_connectivitySubscription = _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
}
/// Update the connection status based on changes in connectivity and show a relevant popup for no internet connection.
Future _updateConnectionStatus(List result) async {
_connectionStatus.value = result;
if (result.contains(ConnectivityResult.none)) {
TLoaders.customToast(message: 'No Internet Connection');
}
}
/// Check the internet connection status.
/// Returns true if connected, false otherwise.
Future isConnected() async {
try {
final result = await _connectivity.checkConnectivity();
if (result.any((element) => element == ConnectivityResult.none)) {
return false;
} else {
return true;
}
} on PlatformException catch (_) {
return false;
}
}
/// Dispose or close the active connectivity stream.
@override
void onClose() {
super.onClose();
_connectivitySubscription.cancel();
}
}
@@CodingwithT Thank you so much for the update.
❤❤❤❤❤❤
Your topic based teaching process is very effective and impressive.
Big ❤ from Bangladesh
Thank you so much 😊 🎉😍
Great Video Sir. but I think you forgot to show TException files which are 3 and also PopScope, it would be great help if u show us in the next video. or else we are getting so many errors. Thankyou sir.
Thank you 🙏.
In the beginning of this video I added a note that Exceptions will be in the next video.
PopScope is a built-in class from Flutter. So, just use it. 🎉😃
hello sir,
i am so sorry if i botherd you ,
when i click on Create account button , nothing happened , i add the key and on pressed () => controller.signup,,
i leave the Field empty , i got nothing about field is Empty , and i leave uncheck box , SnackBar not shown too,
but if i disconnect internet i got the error internet is not connected , so SnackBar work fine ,
the problem with Create account button
After initializing the Generalbinding, by opening the application the snackbar is showing as no internet connection.
So could you check it
Make sure that it correctly listens to connectivity changes and only triggers the Snackbar when there's an actual disconnection. Sometimes, it might show a no-connection status during app startup due to how the listener is set up. If this not helps, you can contact us on whatsapp
At 17:14, this line of code isn't working -> _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
Error (A value of type 'StreamSubscription' can't be assigned to a variable of type 'StreamSubscription'.)
same here.
@@Jiayoujiayoulalalla I can't proceed to the next tutorial because of this error. If you find a solution please tell me.
@@JirolBikes Hi, I found the solution already. In your pubspec.yaml file, you should not add the latest connectivity_plus, instead, you should add the same version in the video which is connectivity_plus ^5.0.1
@@Jiayoujiayoulalalla thanks brother
thnx bro
Hi bro been learning through your tutorial very helpful understanding flutter but you didn't show us the TFirebaseAuthException code so we can follow suit, you skipped those custom exceptions please show us so we can learn in full and also the usermodel too, you didn't show us either.
Exceptions are visible in the next video and also UserModel is completely available
At last point when account is created successfully my VerifyEmailScreen not showing and before the Popscope occurs it shows red screen
Sir whenever I start performing any action through firebase.
This error show me.
Oh snap.
(Type Authentication Repository is not a subtype of Type Authentication Repository in Type Cast Ware).
I am very upset with this error.
If you see this error please reply.
I'm sorry to hear about the error you're facing with Firebase. It seems like a type casting issue. Have you tried reviewing your code where you're casting types? Sometimes a careful review or adjusting how types are cast can resolve such errors. If your error didn't resolve then I am here for your help[
Great explaination brother ❤. Some of the files you skipped to show us and that are giving me errors
1) PopScope form FullScreenLoader
2) TFirebaseAuthException, TFirebaseException, TPlatformException, TFormatException from AuthenticationRepository
This is the first time I got errors in this playlist please kindly reply with the solution brother🥺, that would be a great help.
Thank you 🙏.
In the beginning of this video I added a note that Exceptions will be in the next video.
PopScope is a built-in class from Flutter. So, just use it. 🎉😃
Were you getting a red and white screen while it was loading and no loader was shown?
I got a problem when I click on create account it shows the error snack bar i think you didn't show us the rest of user model file i hope to answer please
I'm sorry to hear that you're encountering an error when trying to create an account. To better assist you, could you please provide more details about the error message displayed in the Snackbar? This will help us identify the specific issue and provide you with an accurate solution. Thank you for your patience!
@@CodingwithT i fix it but in Google sign in i encounter a problem when i tap the command that you provided to get the sha-1 and sha-256 it show me invalid keystore format so i triés to generate a keystore file in Android/app and i got the keys but it stills not working it shows a popup to choose account and then when i click on an account it stops loading and shows a snack bar error sign in failed please help
Hello Sir,
I have purchase your full code but my question is can we convert GetX to Bloc state management with same code architecture?
Yes you can do that. Just add back-end logic using BLoC and you are good to go
can you please send me??. It will help me in my semester end project as submission in near. PLEASE....
can you please share source code ?
awesome video brother ❤🔥 . don't forget to add a theme switch in settings before the series ends
Noted 🙂😸
you didn't make a video about the loaders.dart or put it in the startup kit.
I apologize for the oversight. I'll make sure to create a video about loaders.dart and include it in the startup kit for your convenience. Thank you for bringing this to my attention!
@@CodingwithT waiting for loaders.dart video to finish this amazing tuto!
@@CodingwithT where is the video
Hello Sir, i not clear too much concepts beacause i litterly starting flutter can suggesst any more tutorial so that i learn all concept of this video very deeply and learn how things work and thank you for good video content
Yes, sure. Please watch the flutter Crash Course that I've already uploaded on my Channel.
Thank you @@CodingwithT
Hello Sir,
I have been following you from the video one of this playlist and I don't have any errors in my code . Just one issue after clicking on signup my screen is stuck on docer animation and I am not getting any errors in log , kindly help
It has been a great playlist I have learned a lot
Thank you.
Please try to debug and share any error
When I debugged my app , it is not going ahead of if(signupFormKey.currentState!.validate()) return; this line@@CodingwithT fixed it "!" was missing in start of this line thanks for support
I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
I have the same error, once i removed the 'finally' from the exception the screen got stuck on the docker animation without going to the verifyMailScreen. If you fixed it kindly tell me how.
dacerAnimation file is not in the asset. kindly provide it in starter kit
I already added that but will also check
waiting positive reply@@CodingwithT
+
Greetings! I wanted to take a moment to extend my appreciation for your spectacular efforts. I would like to know your opinion on using abstraction to hide the implementation of controllers and how the app responds to responsiveness for multiple screens.
Hi 👋,
Thank you for your kind words.
Abstraction does many other benefits as well also useful for large and projects which have a team.
To make a design response you can try Expanded and Flexible with Media Query to achieve that. Which we will learn in the next admin panel playlist where I'll create a design for mobile tablet and desktop.
Currently app design is adaptive for different devices.
Please ,How to do it in the section TFirebase AuthExcwption , TFirebaseException ,TFormatException , TPlatformException where can i see it?
I have the same problem, did you find a solution?
@@fizz1028 on the link staterted kit, u can download it
Yes. Didn’t you?
I have a question: Can we use the built-in function in Dart String for validations? such as string.isEmail, string.isPhoneNumber? and thank you for your perfect tutorial 👌
Yes you can use any features you like. You welcome ❤️✌️😀
When i uncheck the checkbox field and press on create account. it gives me warning message and redirect to email verification screen and i add return after warning message same problem
Debug your code it will show you where the issue is.
bhaii ap iss mein bohat speed say jarahay hain... thora explain kr diya karei... bohat prblem hotiii haii ye backend mein...
Noted 😃. Will try this in new videos.
docerAnimation is still not up for starter kit sir..can help us check? Thank u
You just have to add it in the image strings
Excuse me, but You don't show how I created the Loaders class, just some messages but not what the complete structure is, can you provide it to me?
Sorry, I already saw it at minute 19:02😅
Fantastic 😅🚀
Salam. I really like the way you explain things but in my case what I would like to do is to always use firebase for authentication, but when I register a new user, I want this information must be saved in the database of an API that I set up and not in Firebase directly.
Yes, you can do that and still can customise your Authentication
i am having a problem the keyboad is hiding the text field even when i've added "resizeToAvoidBottomInset:true" ,any help
set to false and try, even it fails try wrapping with SingleChildScrollView
Hello,
I'm having issues with the animation for processing information, it's not showing. Similarly for the success snackbar after the account has been created.
Please check did it start and stop loading properly
Till this video i follow perfectly but after this i faced error related to depreciation and out of memory Please how can i fix it .
Can you please state you errors in detail.
bro signupform validations is not triggering for my input fields. they are not getting displayed. plz help
I am sorry for that. You just have to assign the key to the form and in the controller you have to validate the form.
my just putting an email and passwod , i am redirecting to next page, other fields are not required.. why?
You can make them required with validation
I am stuck at we are processing your information animation screen
Please share the error details with me on WhatsApp, and I'll do my best to assist you further.
Same ! can't move to verifyMailScreen. If you fixed the error kindly tell me how.
What if we just need to sign in?, for example like an internal application in a company whose account is created by an admin. Can I create an account directly in Firebase?
You can ask admin to create accounts in the admin panel and do not redirect users for their email verification.
All missing thing here:
Exception:
class TFirebaseException implements Exception {
final String code;
TFirebaseException(this.code);
String get message {
switch (code) {
case 'permission-denied':
return 'You do not have permission to perform this action.';
case 'unavailable':
return 'The server is currently unavailable. Please try again later.';
case 'weak-password':
return 'The password provided is too weak.';
case 'email-already-in-use':
return 'The account already exists for that email.';
case 'invalid-email':
return 'The email address is malformed.';
default:
return 'A Firebase error occurred. Please try again.';
}
}
}
class TFormatException implements Exception {
const TFormatException();
String get message => 'Invalid data format.';
}
class TPlatformException implements Exception {
final String code;
TPlatformException(this.code);
String get message {
switch (code) {
case 'network_error':
return 'Network error. Please check your internet connection.';
case 'device_not_supported':
return 'This feature is not supported on your device.';
default:
return 'A platform error occurred. Please try again.';
}
}
}
User Model:
class UserModel {
final String id;
final String username;
final String email;
String firstName;
String lastName;
String phoneNumber;
String profilePicture;
UserModel({
required this.id,
required this.username,
required this.email,
required this.firstName,
required this.lastName,
required this.phoneNumber,
required this.profilePicture,
});
String get fullName => '$firstName $lastName';
String get formattedPhoneNumber => TFormatter.formatPhoneNumber(phoneNumber);
static List nameParts(fullName) => fullName.split(" ");
static String generateUsername(fullName) {
List nameParts = fullName.split(" ");
String firstName = nameParts[0].toLowerCase();
String lastName = nameParts.length > 1 ? nameParts[1].toLowerCase() : "";
String camelCaseUsername =
"$firstName$lastName"; // Combine first and last name
String usernameWithPrefix = "cwt_$camelCaseUsername"; // Add "cwt_" prefix
return usernameWithPrefix;
}
// Static function to create an empty user model.
static UserModel empty() => UserModel(
id: "",
firstName: "",
lastName: "",
username: "",
email: "",
phoneNumber: "",
profilePicture: "");
// Convert model to JSON structure for storing data in Firebase.
Map toJson() {
return {
'FirstName': firstName,
'LastName': lastName,
'Username': username,
'Email': email,
'PhoneNumber': phoneNumber,
'ProfilePicture': profilePicture,
};
}
// Factory method to create a UserModel from a Firebase document snapshot.
factory UserModel.fromSnapshot(
DocumentSnapshot document) {
final data = document.data()!;
return UserModel(
id: document.id,
firstName: data['FirstName'] ?? "",
lastName: data['LastName'] ?? "",
username: data['Username'] ?? "",
email: data['Email'] ?? "",
phoneNumber: data['PhoneNumber'] ?? "",
profilePicture: data['ProfilePicture'] ?? "",
);
}
}
Thank you for helping others.
sir you missing one class TFirebaseAuthException
hello brother,First i want to thank you for your effort and your good work, i don't have the docerAnimation image in my TImages can u please give me where i can get it from ? you used it at 16:16
Thanks in advance
Hi 👋,
I am glad it’s helpful.
You can download the new starter kit in which we have all the assets added
Hello, may I know what are the last few lines of code of 'factory UserModel.fromSnapshot' function in user_model.dart ? Thank you !!
I think you are talking about what is the code in else right? here it is "return UserModel.empty();"
@@CodingwithT thank you very much
bhai ye popups and loaders ke code kon krvaega seedha daal diye
Sir, I am having this is it to be concerned?
Note: C:\Users\Dell\AppData\Local\Pub\Cache\hosted\pub.dev\cloud_firestore-4.14.0\android\src\main\java\io\flutter\plugins\firebase\firestore\FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details
I am sorry for your error. This is because you are not using latest dependencies. Use command flutter pub upgrade. Or go to pub.dev and find the latest version.
hello sir. I got an exception when i push button "Create account", Null check operator used on a null value. i hope to answer please
First of all check that you are connected to firebase. If it is connected then debug the code and check where the issue is. If the issue persists you can contact us on whatsapp
thanks sir you are the best
You welcome 🤗
Hi sir,
Please provide loaders.dart in start up kit. Downloaded latest file. In that file is not exist.
Noted
@@CodingwithT Sure man you didn't add up the popups files TFullScreenLoader in starter kit do we have to buy it because m stuck in this section. BIG UP BRO
did uh get it bro??
can you send the code loader.dart sir please
When i uncheck the checkbox field and press on create account. it gives me warning message and redirect to email verification screen How to handle this?
You are not calling return after warning message
I have give the correct code but I have Unexpected Null value from validation I will setup the firebase correctly from I watch your video but I have this error why? I hope to answer please
What's the error saying
It seems there might be an unexpected null value triggering the validation error. Check your code thoroughly, especially where you're handling form validation. Ensure that all required fields are properly initialized and that your Firebase setup is correct. If the issue persists, consider debugging the specific part of your code where the validation error occurs.
where is user model?
please give me the docer animation file drive link please
Already uploaded in the free starter kit
Sorry in advance sir, but I didn't find docer animation in the free starter kit even though I downloaded the latest one. can you tell me where the file is? Thank you sir@@CodingwithT
It's in the assets folder.
Sorry sir, it looks like I didn't see it at all. I've searched but can't find it sir, can you tell me which animation it is. Thank you sir 🙏🙏@@CodingwithT
I will share the updated version
please give me the drive link to docer animation
It's added in the free starter kit.
I have an issue, since completing video 34 it now shows a black screen only and in the output log reads: W/Choreographer(11099): Frame time is 0.047482 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. Also before this it seems to be stuck on 4053
I/ViewRootImpl@602f9d6[MainActivity](18014): [DP] cancelDraw null isViewVisible: true, Ant suggestions appreciated thanks.
You can debug the code and check where the issue is and share the error with me so that i can help you.
@@CodingwithT Hi, the issue is with firebase integration, as soon as I add firebase it just remains on a black screen
Hii sir. Hope fully helped this video but form validation and checkbox validate after i put create account button i got some error this "use jsonreader.setlenient(true) tp accept malformed JSON at path $ " this error i got how to handle this sir. And also my usercredentials does not saved in firestore database. Can you explain sir
This happens due to multiple reasons and the possibility here is that your json model is not properly mapped
@mrraeesyt9762 Issue is with we passed .png or jpeg file in lottie which expect json file . Now i passed the json file and issue is resolved
@@sandipshaw3848 thnxxx bro
error solve kru ya coding karu kucchh samaj nahi aa raha
@@sandipshaw3848 You can explain exactly how he did it. I use the file as a gif
exceptional
Thank you 🤩
all your animation assets are in json format why sir?
Just using Lottie animations, that's why
Can you make a tutorial video for booking an appointment ?
Sure 😃, I think I should create booking app also 😸
Please do, i'll love to learn that too.😊@@CodingwithT
Hello
Can I know where can i find these files :
FirebaseFirestore
DocumentSnapshot
FirebaseStorage
FirebaseAuth
UserCredential
These files are added to your project if you connect it to firebase. And by including package firebase core.
there is not UserModel
popscope widget giving me error...
the methode isn't defined for the type "TFullscreenLoader"
Try WillPopScope
@@CodingwithT I have already solve it by using WillPopScope.
Thanks for your content ☺️
@@CodingwithT Thanks it worked was experiencing the same problem
Bhai ye 32;55 min pr throw tFrirebaseexpection ha isko kesy enter krna
Get it from the Starter kit
Sir, you didn't write the loaders class in the video. I'm confused。。😁
That's a helper class and if i write that then the tutorial will become lengthy.
Although I showed in almost every tutorial.
@@CodingwithT Sir, helper classes, model classes, controller classes, and storage classes are pain points for Flutter beginners. It's not that they don't know how to write them, but rather that they don't know how to write them better. I hope there can be detailed explanations.Thank you for your selfless dedication.
Can anyone help with RegExp code for Nigerian phone number validation? Many thanks in advance
What video number do you code AuthenticationRepo?
ruclips.net/video/GYtMpccOOtU/видео.htmlsi=6lMM06xIXbSLzUjC
I am getting this error when following your video ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
This is due to lottie package.. or may be you are not passing animation in SignupController.dart
AFullScreenLoader.openLoadingDialog('We are processing your information...',AImages.docerAnimation);
so solution:
1) passes animation
or
2) remove openLoadingDialog and also remove stoploading cases it will solve the issue.
Did you find any solution bro?
I am also facing the same issue
I had this error too. I was using the wrong extension type. try to use a .json asset
Did you find any solution ? 😑
Assalam Allikum Sir, please help while saving new user in Firebase i cant asccess user in "id: userCredential.user!.uid" , what is the fix?
Wa alaikum Assalam. Is your user added in the firestore or Authentication?
"id: userCredential!.user!.uid"
having problem in docker animation and loader file... can you please add updated starter kit?
You just have to add that in the image strings.
I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?
Can't find docer animation
You can get that from the starter kit
u should have given code snippetss in description
You can get the code from codingwitht.com/product/flutter-ecommerce-app-with-firebase/
How i store gender and DOB value in Firebase using Google sign ?
Simply get the Gender in string and DOB in datetime variable and store as we are storing others
@@CodingwithT ok sir
There is error throwing in doceranimation
I am sorry for your error. Can you please share your error?
hello sir thank for the tutorial where is
1. TFirebaseAuthException,
2. TFirebaseException
3. TFormatException,
4. TPlatformException😮💨😮💨😮💨
Added in the free Starter kit 🆓🎉💕
Sir...app development karni hai...kya apse contact hosakta hai....???
G bilkul anytime.
Message Coding with T on WhatsApp. wa.me/923178059528
Or Mail me at support@codingwitht.com
I'm blocked in the step of the checkbox
Is there is anything you want to know?
@@CodingwithT Hello, my application does not display my snackbar although I followed the tutorial.
dance Animation file is not in the asset.
dacerAnimation file is not in the asset. waiting your add in asset. @CodingwithT
I find. Check this assets and write the in image.strings.dart
I didn't find the screen redirect video bro
Sheyior4z
Firebase firestore data insertions and retrive
Bro i had problem in onInit function
It sounds like you're encountering an issue with the onInit function. Could you please provide more details about the problem you're facing? This will help me assist you more effectively.
@@CodingwithT same here error on this line to be particular "_connectivitySubscription =_connectivity.onConnectivityChanged.listen(_updateConnectionStatus);"
@@isaacipole7157 i have same error .how to solve it
Buddies that json. Reader error will be on our tfullscreenloader.
can you please share complete error so that I get to know where the issue is.
Thank you for this hands on Project❤.I have one doubt the PopScope is a inbuilt function but if I'm using that it display an error.can you please help to resolve that error
Thank you, please make sure there is no const keyword before it.
There is no const keyword. Is this PopScope is version depended im using the newest version of flutter @@CodingwithT
PopScope is the latest version of WillPopScope. Make sure to check WillPopScope also if it works.
api.flutter.dev/flutter/widgets/PopScope-class.html
Thank you for the guidance❤🥰 @@CodingwithT
Just upgrade your flutter
#flutter upgrade
hello sir i can not move to verifiedemailscreen this is show null operator use error please guide me
It seems like there might be a string or variable in your code that is expecting a value but isn't being assigned one, resulting in a null value. Make sure to check your code for any instances where a value might be missing. If you need further assistance, feel free to provide more details about the specific error you're encountering.
Yay
❤❤🎉
🎉💖
😄🥰😍
😃👋🎉
type '(ConnectivityResult) => Future' is not a subtype of type '((List) => void)?' in type cast
this error occur on this line _connectivitySubscription=_connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
please give solution
This is because you have update connectivity plus package. Please contact us on whatsapp wa.me/447456285429 for the updated code.
Bonjour, je suis rendu à l'étape des controllers mais j'ai un champ avec déjà un Controller pour choisir la ville et un champ avec un bouton et un texte comment faire cela ? : TextFormField(
controller: _cityController,
onTap: _showCityPicker,
readOnly: true, // Empêche l'ouverture du clavier
decoration: const InputDecoration(
labelText: 'Sélectionnez votre ville et votre quartier',
prefixIcon: Icon(Icons.location_city_sharp),
),
),
et if (_selectedFile != null) ...[
const SizedBox(height: ESizes.defaultSpace),
Text(
'Justificatif téléchargé : ${_selectedFile!.path.split('/').last}',
style: Theme.of(context).textTheme.bodyMedium,
),
i can create account but the next screen for email verfiication does not appear. on the console, i have this [GETX] GOING TO ROUTE /VerifyEmailScreen
[GETX] CLOSE TO ROUTE /VerifyEmailScreen. please support
Have you debug the code?
Check if you are sending proper email to next screen if required
@@CodingwithT i have solved it. i have removed the loaded TFullScreenLoader.stopLoading() in the finaly block
@@CodingwithT same error here, what do you mean proper email sir?
Welldone sir, i get lost at the Network_manager . I am having issues with _connectivityStatus i need to create the class and also the _connectivity.onConnectivityChanged.listen(_updateConnectionStatus) is showing error
The reason is that Connectivity package changed the Connectivity to the list so we have to modify the code
@@CodingwithT can you show me the modified code?
Hi did u find the solution
try this
@override
void onInit() {
super.onInit();
StreamSubscription subscription = Connectivity().onConnectivityChanged.listen((List result){
});
}
Future subscription (ConnectivityResult result) async {
_connectionStatus.value = result;
if (_connectionStatus.value == ConnectivityResult.none) {
TLoaders.warningSnackBar(title: 'No internet Connection');
}
}
@@CodingwithT sir meny package bi new add kia hai oske bawajod _connectivity.onConnectivityChanged.listen(_updateConnectionStatus_ ya error arha hai plss help me-kafi kosish ki hai error resolve nhi ho raha
😜🤪♥♥♥
🎉😃👋