Build a Login page using Flutter and Firebase

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ธ.ค. 2021
  • hello everyone
    in this video, I'm going to show you how to add Firebase authentication to your flutter app.
    by the end of this tutorial, you will be able to
    - create a firebase project
    - connect firebase to your flutter app
    - creating a simple login system for your app
    I hope that you will enjoy this video, if so don't forget to like and subscribe
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 76

  • @alone-8888
    @alone-8888 2 ปีที่แล้ว +19

    登陆界面编写 0:42
    TextField的控件使用 4:26
    Icon 5:20
    Text的使用 5:52
    Container 7:24
    RawMaterialButton 8:25
    Firebase建立项目 10:08
    注册移动包 10:28
    得到项目中的build.grade中的applicationID 10:40
    google-services.json放到项目(android\app)10:49
    修改您的 build.gradle 文件(项目级 build.gradle) 11:15
    *增加firebase 扩展 12:24
    firebase_core
    firebase_auth
    初始化firebase 13:03
    FutureBuilder使用 13:47
    snapshot 14:06
    CircularPressIndicator 14:22
    *建立login function 14:43
    FirebaseAuth 15:51
    FirebaseAuthException 16:05
    firebase中建立测试帐号 16:54
    建立TextEditingController 17:50
    cnPressed 用户登陆 19:10
    loginUsingEmailPassword 19:50
    成功跳转到个人信息页面 MaterialPageRote 20:06
    ProfileScreen 20:13

  • @mohammadhasnian5512
    @mohammadhasnian5512 ปีที่แล้ว +2

    Thank you sir, your Tutorial helped me a lot.

  • @yasasb418
    @yasasb418 2 ปีที่แล้ว +2

    Thanks Bro It Helped Me A Lot

  • @anilkumarprajapat9004
    @anilkumarprajapat9004 2 ปีที่แล้ว +1

    Very help full video thanks to doctor code keep update continues 😊😊👌👌 Thanku so much

    • @DoctorCode9
      @DoctorCode9  2 ปีที่แล้ว

      thank you, I'm glad you've enjoyed it

  • @klebermancakleberrock
    @klebermancakleberrock 2 ปีที่แล้ว +4

    Fiz o projeto passo a passo e deu certinho. Muito Top. Thank you doctor code!

  • @ikwanisb6732
    @ikwanisb6732 2 ปีที่แล้ว

    Thankyou, wish you stay healthy

  • @klebermancakleberrock
    @klebermancakleberrock 2 ปีที่แล้ว +1

    Thank you doctor code. Good job.

  • @animejob7482
    @animejob7482 ปีที่แล้ว +1

    Thank you so much, it works
    But pls make part 2 with sign up page

  • @taoapps5637
    @taoapps5637 2 ปีที่แล้ว +4

    Thank you Doctor, you are amazing... would mind doing firebase notification with flutter for the next?

    • @DoctorCode9
      @DoctorCode9  2 ปีที่แล้ว +3

      I'm planning to do that 😉

    • @taoapps5637
      @taoapps5637 2 ปีที่แล้ว

      @@DoctorCode9 I appreciate you, Thank you.

  • @samedaydn872
    @samedaydn872 2 ปีที่แล้ว +1

    Thank you 💯

  • @VladimirSalguero
    @VladimirSalguero 2 ปีที่แล้ว +7

    Great video, thank you very much, it worked correctly!

  • @cheysreylin929
    @cheysreylin929 ปีที่แล้ว

    Thank you !

  • @albertosanchez5848
    @albertosanchez5848 2 ปีที่แล้ว

    Gracias! :)

  • @desktop6681
    @desktop6681 2 ปีที่แล้ว +1

    it worked thank you. 😍💯

    • @DoctorCode9
      @DoctorCode9  2 ปีที่แล้ว +1

      happy that it helped you

  • @boboboiii
    @boboboiii ปีที่แล้ว

    thanks for video

  • @chaitanyapawar5483
    @chaitanyapawar5483 ปีที่แล้ว

    Thank you

  • @MxSig-EsPiRiTu
    @MxSig-EsPiRiTu 2 ปีที่แล้ว

    thanks

  • @Cool-ss7ph
    @Cool-ss7ph 2 ปีที่แล้ว +1

    I am getting an error after updating my pubspec yaml file as I have http ^0.12.2 dependency as well and after adding these firebase dependencies it throws an error.. any solutions pleaseee 🥺🤧😭

  • @shubhangverma4478
    @shubhangverma4478 2 ปีที่แล้ว

    hey doc!
    i m getting "getSelectedText on inactive InputConnection" error
    could u resolve this?

  • @Tsi0511
    @Tsi0511 9 หลายเดือนก่อน

    thanks :)

  • @rizkyfaisalrafi8993
    @rizkyfaisalrafi8993 2 ปีที่แล้ว +2

    hey doc, firebase sign up flutter when? :)

  • @raghadroummaneh5150
    @raghadroummaneh5150 2 ปีที่แล้ว

    iiiiii loooovvvvveeee youuuuuu

  • @higorgustavobarbosadasilva9624
    @higorgustavobarbosadasilva9624 2 ปีที่แล้ว

    For Android is baby level....

  • @raihanfadhil8
    @raihanfadhil8 ปีที่แล้ว +2

    Can you help me?
    I can't run the project, there is an error in the section FirebaseAppPlatform.verifyExtendeds(_delegate); (inline: 18)
    Do you know why this is?

    • @rebinu
      @rebinu ปีที่แล้ว +1

      If you need to maintain the current dependency version, you can add the dependency override to your root pubspec.yaml to fix this too.
      If you use multiple local packages in your project, this makes it so you don't have to update all your pubspec.yaml files
      dependency_overrides:
      firebase_core_platform_interface: 4.5.1
      As of 10/6/22, there was an update with breaking changes. So you can run the following script to update your dependencies their next major versions.
      flutter pub upgrade --major-versions
      After adding this, run the following commands to update the iOS project's pods
      cd ios && pod deintegrate
      rm -f Podfile.lock
      flutter packages get
      pod install --repo-update

  • @adilahusin
    @adilahusin ปีที่แล้ว

    What if the user click on 'Don't remember your password'? Where does it redirect to?

  • @bethwelkiprono
    @bethwelkiprono 11 หลายเดือนก่อน

    does this still work as of today, 29th July 2023?

  • @celinema0202
    @celinema0202 2 ปีที่แล้ว +2

    When I enter my email with password and press login button, it shows me the feedback.dart has an error of: return Future.value(); does it have any ways to solve the problem and enter the homepage?

    • @freddyarriagacruz8987
      @freddyarriagacruz8987 2 ปีที่แล้ว

      The same thing happens to me, did you find any solution?

    • @celinema0202
      @celinema0202 2 ปีที่แล้ว

      @@freddyarriagacruz8987 nope, i give up on doing this project

  • @baasithfazil4316
    @baasithfazil4316 ปีที่แล้ว +1

    instance member "user" cant be accessed using static access. here I cant do anything. can you help me.

    • @DoctorCode9
      @DoctorCode9  ปีที่แล้ว

      try to re run the app maybe there where a problem with the database connection, otherwise try to read the code clearly maybe you miseed something

  • @syednasir1520
    @syednasir1520 2 ปีที่แล้ว

    can you help me?i having the problem the firebase undifinedd

  • @gc-016moises6
    @gc-016moises6 2 ปีที่แล้ว

    Hey bro, I have a problem to create the line of the minute 13:21 . In the Line 40
    i sew this "The body might complete normally, causing 'null' to be returned, but the return type is a potentially non-nullable type."

    • @gc-016moises6
      @gc-016moises6 2 ปีที่แล้ว

      Sorry, i resolved this, but after in the await, saw this :
      The method 'initializeApp' isn't defined for the type 'FirebaseApp'.
      Try correcting the name to the name of an existing method, or defining a method named 'initializeApp'.

    • @gc-016moises6
      @gc-016moises6 2 ปีที่แล้ว

      Ya lo resolvi xd
      Done

    • @syednasir1520
      @syednasir1520 2 ปีที่แล้ว

      @@gc-016moises6 i dont understand but I having the same problem which my firebaseapp are not defined

    • @yazilimci1kadin
      @yazilimci1kadin 7 หลายเดือนก่อน

      I have the same problem. Did you solve it?@@gc-016moises6

  • @rey16382
    @rey16382 ปีที่แล้ว +1

    can you help me?
    I'm doing the tutorial step right but always get exception on firebase.initializeApp when first running the firebase.
    it says :
    FirebaseApp firebaseApp = await Firebase.initializeApp();
    "Exception has occured. Firebase ([core/not-initialized] Firebase has not been correctly initialized.
    please, help me. I went to countless firebase tutorial and it always get the same error :(

    • @azli.jaffar
      @azli.jaffar ปีที่แล้ว

      try adding import 'package:firebase_core/firebase_core.dart'; at the top of your main.dart

    • @yazilimci1kadin
      @yazilimci1kadin 7 หลายเดือนก่อน

      I have the same problem. Did you solve it?

  • @narayangupta1586
    @narayangupta1586 2 ปีที่แล้ว +5

    Could you share the source code ? It would help a lot.

    • @DoctorCode9
      @DoctorCode9  2 ปีที่แล้ว

      I'll upload it on my GitHub tonight, but without the Google service file

    • @sharulidhamsakri2265
      @sharulidhamsakri2265 2 ปีที่แล้ว +10

      @@DoctorCode9 sir, what is your git hub ?

    • @adilahusin
      @adilahusin ปีที่แล้ว

      Do you found the source code? Because i can't find it on his GitHub

  • @jos3509
    @jos3509 2 ปีที่แล้ว +1

    And the register?

  • @tikka6554
    @tikka6554 2 ปีที่แล้ว

    What is your pc or laptop specs?

  • @guntur3309
    @guntur3309 2 ปีที่แล้ว

    ignoring header X-Firebase-Locale because its value was null?

  • @nalalanz9957
    @nalalanz9957 2 ปีที่แล้ว

    13:02 For init firebase app

  • @mohammedek6269
    @mohammedek6269 2 ปีที่แล้ว +1

    Last part not working, it doesn't navigating to profile screen page

  • @thetuanofficial5973
    @thetuanofficial5973 2 ปีที่แล้ว

    hello. can you share link source code project git hub login firebase for flutter ? thank you

  • @intanbalqish4042
    @intanbalqish4042 2 ปีที่แล้ว

    what shortcuts doctor code using during 0:39- 0:42 seconds

  • @pfizer6271
    @pfizer6271 2 ปีที่แล้ว

    Hi doctor , i want to register please thanks

  • @GoogleAdsense-xe6dt
    @GoogleAdsense-xe6dt ปีที่แล้ว

    its not going to second screen can u help me?

  • @bimoadibramantyo1833
    @bimoadibramantyo1833 ปีที่แล้ว

    14:31

  • @devishreenadar4925
    @devishreenadar4925 8 หลายเดือนก่อน

    And what if the user chooses forgot password

  • @manthandonga7751
    @manthandonga7751 ปีที่แล้ว

    github me add kiya he code to link dalo na comments ma...

  • @wasss3745
    @wasss3745 2 ปีที่แล้ว

    hi can i get source code?

  • @jannex5348
    @jannex5348 2 ปีที่แล้ว +2

    It did not work.

  • @oscarrebel6794
    @oscarrebel6794 ปีที่แล้ว

    can i get source code

  • @user-ds7mp4fu1f
    @user-ds7mp4fu1f ปีที่แล้ว

    where the code

  • @gokullp5665
    @gokullp5665 2 ปีที่แล้ว

    Could u share ur github name plsssssssssssssss

  • @regularmemes3804
    @regularmemes3804 ปีที่แล้ว

    can you provide me all code?

  • @sardsiders6862
    @sardsiders6862 2 ปีที่แล้ว

    hi , my web app and android emulator works fine but android apk file that installed on my android phone cant sign in or up this error pops up:[firebase_auth/unknown] com.google.firebase.j:an internal error has occurred.[json conversion failed! ] failed to parse error for string[ Error 403 (Forbidden)!!1 ...]

  • @valenciawalker6498
    @valenciawalker6498 หลายเดือนก่อน

    Thank you