Flutter Local Database Using sqfLite

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

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

  • @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 3 месяца назад

    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!🙌😶‍🌫

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

    Very helpful tutorial, thank you

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

    simple and clear, thank you

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

    Amazing. Thank you 🙏

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

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

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

      Thank you! Glad you liked it

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

    Keep going with the good content brother 👍👍

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

    Very helpful

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

    keep it up bro, very good explaination.

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

    Awesome, man.

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

    That's really good man 😮 keep it up

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

    thanx, so clear

  • @user-ic6js9dh2u
    @user-ic6js9dh2u 3 месяца назад

    thank you

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

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

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

    Tq bro 💙

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

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

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

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

      Haha you're right, most welcome!

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

    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.

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

    Sir can you mack video to provider state management

  • @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 2 месяца назад +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.