Flutter Firebase Email Password Authentication | Store Data In Firebase Firestore | Form Validation

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 306

  • @abhisheksitar
    @abhisheksitar 5 месяцев назад +6

    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!

    • @CodingwithT
      @CodingwithT  5 месяцев назад +2

      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.

    • @abhisheksitar
      @abhisheksitar 5 месяцев назад +1

      @@CodingwithT I would happily subscribe once that is available. I hope you let me know when it’s shareable.

  • @user-sp8vp1zz8f
    @user-sp8vp1zz8f 9 месяцев назад +16

    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

    • @CodingwithT
      @CodingwithT  9 месяцев назад +4

      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. 😀🎊

    • @alansomathew10
      @alansomathew10 9 месяцев назад +1

      Did you add the animation file to the starter kit? If you added it, we can download and use it@@CodingwithT ❤

    • @ayushjain8338
      @ayushjain8338 7 месяцев назад

      @@CodingwithT Where is docerAnimation?

    • @ayushjain8338
      @ayushjain8338 7 месяцев назад

      @@alansomathew10 Do you have docerAnimation?

    • @madhurtyagi803
      @madhurtyagi803 7 месяцев назад +1

      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 ?

  • @user-fj8pg6zt6k
    @user-fj8pg6zt6k 2 месяца назад +4

    You dont show the UserModel Code

  • @Oueslati455
    @Oueslati455 9 месяцев назад +5

    big ❤ from Tunisia , mashalah brother keep going ✌👏👏👏

    • @CodingwithT
      @CodingwithT  9 месяцев назад +1

      Thank you 😊😍

    • @geiseebag8754
      @geiseebag8754 6 месяцев назад

      mechi shih l pfe?

    • @rabebsassi
      @rabebsassi 5 месяцев назад

      chrit code t7bchi techri b 80dt

  • @Nomiiiso
    @Nomiiiso 2 месяца назад +3

    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

    • @CodingwithT
      @CodingwithT  Месяц назад +3

      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();
      }
      }

    • @Nomiiiso
      @Nomiiiso Месяц назад

      @@CodingwithT Thank you so much for the update.

    • @mahboublarbimohammed5377
      @mahboublarbimohammed5377 20 дней назад

      ❤❤❤❤❤❤

  • @albiummid
    @albiummid 9 месяцев назад +1

    Your topic based teaching process is very effective and impressive.
    Big ❤ from Bangladesh

    • @CodingwithT
      @CodingwithT  9 месяцев назад +1

      Thank you so much 😊 🎉😍

  • @user-jg9rx7qb7m
    @user-jg9rx7qb7m 9 месяцев назад +2

    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.

    • @CodingwithT
      @CodingwithT  9 месяцев назад +1

      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. 🎉😃

  • @mo-awny
    @mo-awny 3 часа назад

    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

  • @addicted_lover
    @addicted_lover 6 дней назад +1

    After initializing the Generalbinding, by opening the application the snackbar is showing as no internet connection.
    So could you check it

    • @CodingwithT
      @CodingwithT  5 дней назад

      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

  • @JirolBikes
    @JirolBikes 5 месяцев назад +3

    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'.)

    • @Jiayoujiayoulalalla
      @Jiayoujiayoulalalla 5 месяцев назад +1

      same here.

    • @JirolBikes
      @JirolBikes 5 месяцев назад

      @@Jiayoujiayoulalalla I can't proceed to the next tutorial because of this error. If you find a solution please tell me.

    • @Jiayoujiayoulalalla
      @Jiayoujiayoulalalla 5 месяцев назад +8

      @@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

    • @user-pi5gq6eq5o
      @user-pi5gq6eq5o 5 месяцев назад +1

      @@Jiayoujiayoulalalla thanks brother

    • @gautamsolanki3644
      @gautamsolanki3644 5 месяцев назад

      thnx bro

  • @icoweb500
    @icoweb500 6 месяцев назад +2

    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.

    • @CodingwithT
      @CodingwithT  6 месяцев назад +2

      Exceptions are visible in the next video and also UserModel is completely available

  • @CodeEasy11
    @CodeEasy11 18 дней назад

    At last point when account is created successfully my VerifyEmailScreen not showing and before the Popscope occurs it shows red screen

  • @RehmanJutt-zo4eg
    @RehmanJutt-zo4eg 2 месяца назад +1

    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.

    • @CodingwithT
      @CodingwithT  Месяц назад +1

      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[

  • @user_11221
    @user_11221 9 месяцев назад +4

    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.

    • @CodingwithT
      @CodingwithT  9 месяцев назад +2

      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. 🎉😃

    • @deepankarvarma4513
      @deepankarvarma4513 8 месяцев назад

      Were you getting a red and white screen while it was loading and no loader was shown?

  • @footballgrinta-8714
    @footballgrinta-8714 6 месяцев назад +2

    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

    • @CodingwithT
      @CodingwithT  6 месяцев назад

      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!

    • @footballgrinta-8714
      @footballgrinta-8714 6 месяцев назад

      @@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

  • @rahulshimpi8914
    @rahulshimpi8914 9 месяцев назад +2

    Hello Sir,
    I have purchase your full code but my question is can we convert GetX to Bloc state management with same code architecture?

    • @CodingwithT
      @CodingwithT  9 месяцев назад

      Yes you can do that. Just add back-end logic using BLoC and you are good to go

    • @A2Vloogs
      @A2Vloogs 9 месяцев назад

      can you please send me??. It will help me in my semester end project as submission in near. PLEASE....

    • @pinkisingh9218
      @pinkisingh9218 6 месяцев назад

      can you please share source code ?

  • @user-sp8vp1zz8f
    @user-sp8vp1zz8f 9 месяцев назад +1

    awesome video brother ❤🔥 . don't forget to add a theme switch in settings before the series ends

  • @geiseebag8754
    @geiseebag8754 6 месяцев назад +2

    you didn't make a video about the loaders.dart or put it in the startup kit.

    • @CodingwithT
      @CodingwithT  6 месяцев назад +4

      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!

    • @dieudonnehagenimana7988
      @dieudonnehagenimana7988 6 месяцев назад

      @@CodingwithT waiting for loaders.dart video to finish this amazing tuto!

    • @bobobod888
      @bobobod888 3 месяца назад

      @@CodingwithT where is the video

  • @ankitdhattarwal2286
    @ankitdhattarwal2286 7 месяцев назад

    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

    • @CodingwithT
      @CodingwithT  7 месяцев назад +2

      Yes, sure. Please watch the flutter Crash Course that I've already uploaded on my Channel.

    • @ankitdhattarwal2286
      @ankitdhattarwal2286 7 месяцев назад

      Thank you @@CodingwithT

  • @user-wq9om4et9s
    @user-wq9om4et9s 8 месяцев назад +1

    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

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      Thank you.
      Please try to debug and share any error

    • @user-wq9om4et9s
      @user-wq9om4et9s 8 месяцев назад

      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

    • @madhurtyagi803
      @madhurtyagi803 7 месяцев назад

      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 ?

    • @maryemlahmer3184
      @maryemlahmer3184 4 месяца назад

      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.

  • @sohelindian1988
    @sohelindian1988 7 месяцев назад +2

    dacerAnimation file is not in the asset. kindly provide it in starter kit

  • @user-qv8ku3ox4y
    @user-qv8ku3ox4y 9 месяцев назад

    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.

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      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.

  • @user-yo6mq9rm7h
    @user-yo6mq9rm7h 8 месяцев назад +2

    Please ,How to do it in the section TFirebase AuthExcwption , TFirebaseException ,TFormatException , TPlatformException where can i see it?

    • @fizz1028
      @fizz1028 5 месяцев назад +1

      I have the same problem, did you find a solution?

    • @maxxy-r3q
      @maxxy-r3q 4 месяца назад

      @@fizz1028 on the link staterted kit, u can download it

    • @gilbertotauanja5283
      @gilbertotauanja5283 2 месяца назад

      Yes. Didn’t you?

  • @mohamedalhamri9714
    @mohamedalhamri9714 3 месяца назад

    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 👌

    • @CodingwithT
      @CodingwithT  2 месяца назад

      Yes you can use any features you like. You welcome ❤️✌️😀

  • @SamirAa-tw8xh
    @SamirAa-tw8xh 7 месяцев назад +2

    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

    • @CodingwithT
      @CodingwithT  7 месяцев назад

      Debug your code it will show you where the issue is.

  • @maazafridi2090
    @maazafridi2090 8 месяцев назад +1

    bhaii ap iss mein bohat speed say jarahay hain... thora explain kr diya karei... bohat prblem hotiii haii ye backend mein...

    • @CodingwithT
      @CodingwithT  8 месяцев назад +2

      Noted 😃. Will try this in new videos.

  • @dragonthis7948
    @dragonthis7948 7 месяцев назад +1

    docerAnimation is still not up for starter kit sir..can help us check? Thank u

    • @CodingwithT
      @CodingwithT  7 месяцев назад +1

      You just have to add it in the image strings

  • @Rivero727
    @Rivero727 23 дня назад

    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?

    • @Rivero727
      @Rivero727 22 дня назад

      Sorry, I already saw it at minute 19:02😅

    • @CodingwithT
      @CodingwithT  22 дня назад

      Fantastic 😅🚀

  • @kassacamara7089
    @kassacamara7089 6 месяцев назад

    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.

    • @CodingwithT
      @CodingwithT  6 месяцев назад

      Yes, you can do that and still can customise your Authentication

  • @abderrazakschannel4491
    @abderrazakschannel4491 9 месяцев назад +1

    i am having a problem the keyboad is hiding the text field even when i've added "resizeToAvoidBottomInset:true" ,any help

    • @PradeepS-lk3ky
      @PradeepS-lk3ky 6 месяцев назад

      set to false and try, even it fails try wrapping with SingleChildScrollView

  • @khimleshgajuddhur6892
    @khimleshgajuddhur6892 Месяц назад

    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.

    • @CodingwithT
      @CodingwithT  24 дня назад +1

      Please check did it start and stop loading properly

  • @Calligraphyreyu
    @Calligraphyreyu 3 месяца назад

    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 .

    • @CodingwithT
      @CodingwithT  2 месяца назад

      Can you please state you errors in detail.

  • @samarth_pachpile_patil3533
    @samarth_pachpile_patil3533 21 день назад

    bro signupform validations is not triggering for my input fields. they are not getting displayed. plz help

    • @CodingwithT
      @CodingwithT  20 дней назад

      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.

  • @shreyashgupta2706
    @shreyashgupta2706 2 месяца назад

    my just putting an email and passwod , i am redirecting to next page, other fields are not required.. why?

    • @CodingwithT
      @CodingwithT  2 месяца назад

      You can make them required with validation

  • @muhammedemad9782
    @muhammedemad9782 4 месяца назад +1

    I am stuck at we are processing your information animation screen

    • @CodingwithT
      @CodingwithT  4 месяца назад

      Please share the error details with me on WhatsApp, and I'll do my best to assist you further.

    • @maryemlahmer3184
      @maryemlahmer3184 4 месяца назад

      Same ! can't move to verifyMailScreen. If you fixed the error kindly tell me how.

  • @ano7371
    @ano7371 9 месяцев назад

    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?

    • @CodingwithT
      @CodingwithT  9 месяцев назад

      You can ask admin to create accounts in the admin panel and do not redirect users for their email verification.

  • @Rifat-s4u
    @Rifat-s4u 27 дней назад +1

    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'] ?? "",
    );
    }
    }

    • @CodingwithT
      @CodingwithT  24 дня назад

      Thank you for helping others.

    • @MauCa-gw5wf
      @MauCa-gw5wf 18 дней назад

      sir you missing one class TFirebaseAuthException

  • @user-wx1lo8ex2l
    @user-wx1lo8ex2l 2 месяца назад

    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

    • @CodingwithT
      @CodingwithT  2 месяца назад +1

      Hi 👋,
      I am glad it’s helpful.
      You can download the new starter kit in which we have all the assets added

  • @sarahismail-ob4is
    @sarahismail-ob4is Месяц назад

    Hello, may I know what are the last few lines of code of 'factory UserModel.fromSnapshot' function in user_model.dart ? Thank you !!

    • @CodingwithT
      @CodingwithT  Месяц назад +1

      I think you are talking about what is the code in else right? here it is "return UserModel.empty();"

    • @sarahismail-ob4is
      @sarahismail-ob4is Месяц назад

      @@CodingwithT thank you very much

  • @user-uy9iy9ws9m
    @user-uy9iy9ws9m 4 месяца назад

    bhai ye popups and loaders ke code kon krvaega seedha daal diye

  • @yjskrishnateja
    @yjskrishnateja Месяц назад

    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

    • @CodingwithT
      @CodingwithT  Месяц назад

      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.

  • @user-eg7tl1ux5s
    @user-eg7tl1ux5s 6 месяцев назад

    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

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      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

  • @cedosseng
    @cedosseng 9 месяцев назад

    thanks sir you are the best

  • @user-dx7pj2uw8c
    @user-dx7pj2uw8c 7 месяцев назад +1

    Hi sir,
    Please provide loaders.dart in start up kit. Downloaded latest file. In that file is not exist.

    • @CodingwithT
      @CodingwithT  7 месяцев назад +1

      Noted

    • @TheArtOfWarStrategy
      @TheArtOfWarStrategy 6 месяцев назад

      @@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

    • @krishnakumar-sy1gk
      @krishnakumar-sy1gk 4 месяца назад

      did uh get it bro??

    • @meybad6365
      @meybad6365 3 месяца назад

      can you send the code loader.dart sir please

  • @Hamza-yq7sj
    @Hamza-yq7sj 9 месяцев назад

    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?

    • @CodingwithT
      @CodingwithT  9 месяцев назад +1

      You are not calling return after warning message

  • @AtchayaGnanasekaran
    @AtchayaGnanasekaran 4 месяца назад

    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

    • @cybertolu
      @cybertolu 4 месяца назад

      What's the error saying

    • @CodingwithT
      @CodingwithT  4 месяца назад

      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.

  • @shreyashgupta2706
    @shreyashgupta2706 2 месяца назад

    where is user model?

  • @user-mf2ug3ml6e
    @user-mf2ug3ml6e 8 месяцев назад +2

    please give me the docer animation file drive link please

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      Already uploaded in the free starter kit

    • @rizkyahsansyarif5584
      @rizkyahsansyarif5584 8 месяцев назад

      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

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      It's in the assets folder.

    • @rizkyahsansyarif5584
      @rizkyahsansyarif5584 8 месяцев назад

      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

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      I will share the updated version

  • @user-mf2ug3ml6e
    @user-mf2ug3ml6e 8 месяцев назад +1

    please give me the drive link to docer animation

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      It's added in the free starter kit.

  • @Occult552
    @Occult552 5 месяцев назад

    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.

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      You can debug the code and check where the issue is and share the error with me so that i can help you.

    • @Occult552
      @Occult552 5 месяцев назад

      @@CodingwithT Hi, the issue is with firebase integration, as soon as I add firebase it just remains on a black screen

  • @richeriyas6888
    @richeriyas6888 5 месяцев назад

    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
      @CodingwithT  5 месяцев назад

      This happens due to multiple reasons and the possibility here is that your json model is not properly mapped

    • @sandipshaw3848
      @sandipshaw3848 5 месяцев назад

      @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

    • @gautamsolanki3644
      @gautamsolanki3644 5 месяцев назад

      @@sandipshaw3848 thnxxx bro
      error solve kru ya coding karu kucchh samaj nahi aa raha

    • @fizz1028
      @fizz1028 4 месяца назад

      @@sandipshaw3848 You can explain exactly how he did it. I use the file as a gif

  • @FaheemAbbas-oj6pg
    @FaheemAbbas-oj6pg 4 месяца назад

    exceptional

  • @karthickdinesh5589
    @karthickdinesh5589 4 месяца назад

    all your animation assets are in json format why sir?

    • @CodingwithT
      @CodingwithT  3 месяца назад

      Just using Lottie animations, that's why

  • @SyahmieHazren
    @SyahmieHazren 9 месяцев назад

    Can you make a tutorial video for booking an appointment ?

    • @CodingwithT
      @CodingwithT  9 месяцев назад +2

      Sure 😃, I think I should create booking app also 😸

    • @icoweb500
      @icoweb500 6 месяцев назад

      Please do, i'll love to learn that too.😊@@CodingwithT

  • @samahati_ati
    @samahati_ati 5 месяцев назад

    Hello
    Can I know where can i find these files :
    FirebaseFirestore
    DocumentSnapshot
    FirebaseStorage
    FirebaseAuth
    UserCredential

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      These files are added to your project if you connect it to firebase. And by including package firebase core.

  • @lenzyounda4449
    @lenzyounda4449 6 месяцев назад

    there is not UserModel

  • @cricmaniaofficial
    @cricmaniaofficial 9 месяцев назад

    popscope widget giving me error...
    the methode isn't defined for the type "TFullscreenLoader"

    • @CodingwithT
      @CodingwithT  9 месяцев назад +2

      Try WillPopScope

    • @cricmaniaofficial
      @cricmaniaofficial 9 месяцев назад

      @@CodingwithT I have already solve it by using WillPopScope.
      Thanks for your content ☺️

    • @zvidzaimukarati2385
      @zvidzaimukarati2385 3 месяца назад

      @@CodingwithT Thanks it worked was experiencing the same problem

  • @UmarFarooq-kw1nu
    @UmarFarooq-kw1nu 3 месяца назад

    Bhai ye 32;55 min pr throw tFrirebaseexpection ha isko kesy enter krna

    • @CodingwithT
      @CodingwithT  3 месяца назад

      Get it from the Starter kit

  • @CyberWu
    @CyberWu 9 месяцев назад

    Sir, you didn't write the loaders class in the video. I'm confused。。😁

    • @CodingwithT
      @CodingwithT  9 месяцев назад

      That's a helper class and if i write that then the tutorial will become lengthy.
      Although I showed in almost every tutorial.

    • @CyberWu
      @CyberWu 9 месяцев назад +2

      ​@@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.

  • @jude2chika
    @jude2chika 3 месяца назад

    Can anyone help with RegExp code for Nigerian phone number validation? Many thanks in advance

  • @mawandenxumalo4901
    @mawandenxumalo4901 7 месяцев назад

    What video number do you code AuthenticationRepo?

    • @CodingwithT
      @CodingwithT  7 месяцев назад +1

      ruclips.net/video/GYtMpccOOtU/видео.htmlsi=6lMM06xIXbSLzUjC

  • @khanhduy4273
    @khanhduy4273 7 месяцев назад

    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 ?

    • @PhenomenalPulse
      @PhenomenalPulse 7 месяцев назад

      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.

    • @madhurtyagi803
      @madhurtyagi803 7 месяцев назад

      Did you find any solution bro?

    • @madhurtyagi803
      @madhurtyagi803 7 месяцев назад

      I am also facing the same issue

    • @Xxdarkon
      @Xxdarkon 7 месяцев назад

      I had this error too. I was using the wrong extension type. try to use a .json asset

    • @kaismsalmi
      @kaismsalmi 6 месяцев назад

      Did you find any solution ? 😑

  • @muhibmehboob2560
    @muhibmehboob2560 4 месяца назад

    Assalam Allikum Sir, please help while saving new user in Firebase i cant asccess user in "id: userCredential.user!.uid" , what is the fix?

    • @CodingwithT
      @CodingwithT  4 месяца назад

      Wa alaikum Assalam. Is your user added in the firestore or Authentication?

    • @rhmazeem7993
      @rhmazeem7993 4 месяца назад

      "id: userCredential!.user!.uid"

  • @eshu9838
    @eshu9838 7 месяцев назад

    having problem in docker animation and loader file... can you please add updated starter kit?

    • @CodingwithT
      @CodingwithT  7 месяцев назад

      You just have to add that in the image strings.

    • @madhurtyagi803
      @madhurtyagi803 7 месяцев назад +1

      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 ?

  • @abdelouahebbenouar6157
    @abdelouahebbenouar6157 Месяц назад

    Can't find docer animation

    • @CodingwithT
      @CodingwithT  Месяц назад

      You can get that from the starter kit

  • @user-uy9iy9ws9m
    @user-uy9iy9ws9m 5 месяцев назад

    u should have given code snippetss in description

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      You can get the code from codingwitht.com/product/flutter-ecommerce-app-with-firebase/

  • @Hamza-yq7sj
    @Hamza-yq7sj 8 месяцев назад

    How i store gender and DOB value in Firebase using Google sign ?

    • @CodingwithT
      @CodingwithT  8 месяцев назад

      Simply get the Gender in string and DOB in datetime variable and store as we are storing others

    • @Hamza-yq7sj
      @Hamza-yq7sj 8 месяцев назад

      @@CodingwithT ok sir

  • @ishannasker2489
    @ishannasker2489 5 месяцев назад

    There is error throwing in doceranimation

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      I am sorry for your error. Can you please share your error?

  • @cedosseng
    @cedosseng 9 месяцев назад

    hello sir thank for the tutorial where is
    1. TFirebaseAuthException,
    2. TFirebaseException
    3. TFormatException,
    4. TPlatformException😮‍💨😮‍💨😮‍💨

    • @CodingwithT
      @CodingwithT  9 месяцев назад +2

      Added in the free Starter kit 🆓🎉💕

  • @muvut3144
    @muvut3144 9 месяцев назад

    Sir...app development karni hai...kya apse contact hosakta hai....???

    • @CodingwithT
      @CodingwithT  9 месяцев назад

      G bilkul anytime.
      Message Coding with T on WhatsApp. wa.me/923178059528
      Or Mail me at support@codingwitht.com

  • @devellop44
    @devellop44 2 месяца назад

    I'm blocked in the step of the checkbox

    • @CodingwithT
      @CodingwithT  2 месяца назад +1

      Is there is anything you want to know?

    • @devellop44
      @devellop44 2 месяца назад

      @@CodingwithT Hello, my application does not display my snackbar although I followed the tutorial.

  • @berkantyurtsever41
    @berkantyurtsever41 3 месяца назад

    dance Animation file is not in the asset.

    • @berkantyurtsever41
      @berkantyurtsever41 3 месяца назад

      dacerAnimation file is not in the asset. waiting your add in asset. @CodingwithT

    • @berkantyurtsever41
      @berkantyurtsever41 3 месяца назад

      I find. Check this assets and write the in image.strings.dart

  • @Tharun-h4e
    @Tharun-h4e 8 месяцев назад

    I didn't find the screen redirect video bro

  • @codewithroman8180
    @codewithroman8180 9 месяцев назад

    Firebase firestore data insertions and retrive

  • @kuntal183
    @kuntal183 4 месяца назад

    Bro i had problem in onInit function

    • @CodingwithT
      @CodingwithT  4 месяца назад

      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.

    • @isaacipole7157
      @isaacipole7157 4 месяца назад

      @@CodingwithT same here error on this line to be particular "_connectivitySubscription =_connectivity.onConnectivityChanged.listen(_updateConnectionStatus);"

    • @athulmp9952
      @athulmp9952 2 месяца назад

      @@isaacipole7157 i have same error .how to solve it

  • @richeriyas6888
    @richeriyas6888 5 месяцев назад

    Buddies that json. Reader error will be on our tfullscreenloader.

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      can you please share complete error so that I get to know where the issue is.

  • @alansomathew10
    @alansomathew10 9 месяцев назад

    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

    • @CodingwithT
      @CodingwithT  9 месяцев назад

      Thank you, please make sure there is no const keyword before it.

    • @alansomathew10
      @alansomathew10 9 месяцев назад

      There is no const keyword. Is this PopScope is version depended im using the newest version of flutter @@CodingwithT

    • @CodingwithT
      @CodingwithT  9 месяцев назад

      PopScope is the latest version of WillPopScope. Make sure to check WillPopScope also if it works.
      api.flutter.dev/flutter/widgets/PopScope-class.html

    • @alansomathew10
      @alansomathew10 9 месяцев назад

      Thank you for the guidance❤🥰 @@CodingwithT

    • @theupperroom5331
      @theupperroom5331 9 месяцев назад

      Just upgrade your flutter
      #flutter upgrade

  • @domcareer4048
    @domcareer4048 5 месяцев назад

    hello sir i can not move to verifiedemailscreen this is show null operator use error please guide me

    • @CodingwithT
      @CodingwithT  5 месяцев назад

      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.

  • @collinsolokpedje6818
    @collinsolokpedje6818 9 месяцев назад

    Yay

  • @albiummid
    @albiummid 9 месяцев назад

    ❤❤🎉

  • @Suleiman-PC
    @Suleiman-PC 9 месяцев назад

    😄🥰😍

  • @rahulborse7873
    @rahulborse7873 Месяц назад

    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

    • @CodingwithT
      @CodingwithT  Месяц назад +1

      This is because you have update connectivity plus package. Please contact us on whatsapp wa.me/447456285429 for the updated code.

  • @leguidehigh-tech.10
    @leguidehigh-tech.10 5 месяцев назад

    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,
    ),

  • @djamamockejoel159
    @djamamockejoel159 3 месяца назад

    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

    • @CodingwithT
      @CodingwithT  3 месяца назад

      Have you debug the code?
      Check if you are sending proper email to next screen if required

    • @djamamockejoel159
      @djamamockejoel159 3 месяца назад

      @@CodingwithT i have solved it. i have removed the loaded TFullScreenLoader.stopLoading() in the finaly block

    • @alghanykennedy
      @alghanykennedy Месяц назад

      @@CodingwithT same error here, what do you mean proper email sir?

  • @yungfizz8537
    @yungfizz8537 4 месяца назад

    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
      @CodingwithT  4 месяца назад +1

      The reason is that Connectivity package changed the Connectivity to the list so we have to modify the code

    • @farelalgibrananhar4024
      @farelalgibrananhar4024 4 месяца назад +1

      @@CodingwithT can you show me the modified code?

    • @ahmedfouad1802
      @ahmedfouad1802 3 месяца назад

      Hi did u find the solution

    • @hackershood1341
      @hackershood1341 3 месяца назад

      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');
      }
      }

    • @RehmanJutt-zo4eg
      @RehmanJutt-zo4eg 3 месяца назад +1

      @@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

  • @godkingus
    @godkingus 9 месяцев назад

    😜🤪♥♥♥