ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Flutter Local Database Using sqfLite

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ส.ค. 2024
  • Hey Guys, in this Flutter video I will show you how to create a local database in Flutter using sqflite library which uses SQLite database and use it to save and retrieve data in addition to deletion of data. You will also learn how to retrieve data as models and a list of models.
    Learn how to use local database storage step by step in Flutter.
    For more Flutter content be sure to subscribe to the channel and turn on your notifications.
    Check out Flutter how-to videos:
    • Flutter Google Ads
    Check out my Flutter tutorial to become a Flutter hero: • Flutter Tutorial for B...
    Links:
    Don't click this: bit.ly/3dkJUNB
    sqfLite library: pub.dev/packages/sqflite/install
    ------------ Content of this video ------------
    00:00 Demo of the finished app
    00:59 Setting up our project
    01:31 Adding the model
    04:05 Creating the database helper
    07:44 Implementing Insert
    09:20 Implementing update
    10:50 Implementing delete
    11:16 Implementing retrieve list of models
    13:14 Editing the UI
    19:35 Testing the app
    #flutter #flutter_local_database #flutter_local_storage #flutter_sqflite #flutter_sqlite

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

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

    Hey guys, The source code of this video can be found on GitHub here
    github.com/yehya-qassim/local_database.git

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

      thank you, great tutorial.......have you got some paid tutorials?

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

    I'm searching lots of tutorials. most of the tutorials are time consuming and I
    never understanding anything from those videos. Finally I found You. Simple and Great!🙌😶‍🌫

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

      Happy to hear that!

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

    Very helpful tutorial, thank you

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

    Amazing. Thank you 🙏

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

    simple and clear, thank you

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

      My pleasure!

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

    This is very nice and easy to follow. Also Providing the github link was thoughtful of you. Keep up the Good work

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

      Thank you! Glad you liked it

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

    keep it up bro, very good explaination.

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

    Very helpful

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

    Keep going with the good content brother 👍👍

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

    thanx, so clear

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

      Most welcome!

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

    Awesome, man.

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

    That's really good man 😮 keep it up

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

      Thank you!

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

    wow its amazing explanation bro super tq

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

      Welcome 😊

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

    thank for sharing ,, i will download your repo ,,,,

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

      Most welcome!

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

    Tq bro 💙

  • @user-ic6js9dh2u
    @user-ic6js9dh2u 4 หลายเดือนก่อน

    thank you

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

      You're welcome

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

    As soon as possible thanks

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

      Soon hopefully

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

      @@codingorbit when sir any Gus

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

      @@codingorbit I need sir

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

    I'm with a problem in my app: When i try to open a database in any folder other than the documents folder, it's gives me error 14. I already gave read/write permission in the android manifest.

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

    thank you 🧡please! add Image Picker & Color Picker here.
    Please ❤️

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

      I do have a video for picking images!
      Spoiler alert it also has quality compression lol 😅

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

    Great

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

      Thank you

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

      @@codingorbit Please Upload the Source Code. I'm getting some issues.

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

      I will very soon.

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

      @@codingorbit ok 🙂

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

      @@subrotobasak Its pinned now :)

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

    اول ما فتت على الفيديوا قلت هاد عربي
    any way thank you for this lecture

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

      Haha you're right, most welcome!

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

    Sir can you mack video to provider state management

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

      Yeah hopefully soon :)

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

    What if I need to retrieve data from multiple tables?

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

      I haven't tried that but I believe you can write sql query yourself try writing one and let me know if it works!

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

    Sir please upload the video of audio recorder and audio player in flutter

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

    you can make video to how use database sqflite in asessts?

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

      What do you mean using sqflite in assets?

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

      @@codingorbit yes, i mean if have database how use in flutter

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

      Sqflite is a local database. Watch the video it will help you to create a local database

  • @pyaesonehan19
    @pyaesonehan19 3 หลายเดือนก่อน +1

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

    Hello, I am a new flutter learner through your video and I encounter error the text is disappear after key in and the RenderFlex overflowed. Please help me, appreciate your help, thank you.
    ════════ Exception caught by rendering library ═════════════════════════════════
    The following assertion was thrown during layout:
    A RenderFlex overflowed by 37 pixels on the bottom.
    W/RemoteInputConnectionImpl(10655):getSurroundingText on inactive InputConnection
    W/RemoteInputConnectionImpl(10655): getTextBeforeCursor on inactive InputConnection
    W/RemoteInputConnectionImpl(10655): getSurroundingText on inactive InputConnection

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

      That is a render file error which is thrown when a widget needs more space but there is none available. this can be solved using different ways based on the widget you are facing this error with.