Build a Login page using Flutter and Firebase

Поделиться
HTML-код
  • Опубликовано: 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.

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

  • @yasasb418
    @yasasb418 2 года назад +2

    Thanks Bro It Helped Me A Lot

  • @ikwanisb6732
    @ikwanisb6732 2 года назад

    Thankyou, wish you stay healthy

  • @animejob7482
    @animejob7482 2 года назад +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.

  • @klebermancakleberrock
    @klebermancakleberrock 2 года назад +1

    Thank you doctor code. Good job.

  • @klebermancakleberrock
    @klebermancakleberrock 2 года назад +4

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

  • @samedaydn872
    @samedaydn872 2 года назад +1

    Thank you 💯

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

    Thank you

  • @boboboiii
    @boboboiii Год назад

    thanks for video

  • @cheysreylin929
    @cheysreylin929 Год назад

    Thank you !

  • @VladimirSalguero
    @VladimirSalguero 2 года назад +7

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

  • @albertosanchez5848
    @albertosanchez5848 2 года назад

    Gracias! :)

  • @rizkyfaisalrafi8993
    @rizkyfaisalrafi8993 2 года назад +2

    hey doc, firebase sign up flutter when? :)

  • @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 🥺🤧😭

  • @MxSig-EsPiRiTu
    @MxSig-EsPiRiTu 2 года назад

    thanks

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

    thanks :)

  • @raghadroummaneh5150
    @raghadroummaneh5150 2 года назад

    iiiiii loooovvvvveeee youuuuuu

  • @shubhangverma4478
    @shubhangverma4478 2 года назад

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

  • @desktop6681
    @desktop6681 2 года назад +1

    it worked thank you. 😍💯

  • @higorgustavobarbosadasilva9624
    @higorgustavobarbosadasilva9624 2 года назад

    For Android is baby level....

  • @tikka6554
    @tikka6554 2 года назад

    What is your pc or laptop specs?

  • @adilahusin
    @adilahusin Год назад

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

  • @bethwelkiprono
    @bethwelkiprono Год назад

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

  • @syednasir1520
    @syednasir1520 2 года назад

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

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

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

  • @pfizer6271
    @pfizer6271 2 года назад

    Hi doctor , i want to register please thanks

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

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

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

  • @jos3509
    @jos3509 2 года назад +1

    And the register?

  • @thetuanofficial5973
    @thetuanofficial5973 2 года назад

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

  • @guntur3309
    @guntur3309 2 года назад

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

  • @GoogleAdsense-xe6dt
    @GoogleAdsense-xe6dt Год назад

    its not going to second screen can u help me?

  • @mohammedek6269
    @mohammedek6269 2 года назад +1

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

  • @intanbalqish4042
    @intanbalqish4042 2 года назад

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

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

    And what if the user chooses forgot password

  • @manthandonga7751
    @manthandonga7751 Год назад

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

  • @nalalanz9957
    @nalalanz9957 2 года назад

    13:02 For init firebase app

  • @wasss3745
    @wasss3745 2 года назад

    hi can i get source code?

  • @oscarrebel6794
    @oscarrebel6794 Год назад

    can i get source code

  • @bimoadibramantyo1833
    @bimoadibramantyo1833 Год назад

    14:31

  • @user-ds7mp4fu1f
    @user-ds7mp4fu1f Год назад

    where the code

  • @regularmemes3804
    @regularmemes3804 Год назад

    can you provide me all code?

  • @jannex5348
    @jannex5348 2 года назад +2

    It did not work.

  • @gokullp5665
    @gokullp5665 2 года назад

    Could u share ur github name plsssssssssssssss

  • @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 ...]

  • @chaitanyapawar5483
    @chaitanyapawar5483 Год назад

    Thank you