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
Hey guys, The source code of this video can be found on GitHub here
github.com/yehya-qassim/local_database.git
thank you, great tutorial.......have you got some paid tutorials?
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!🙌😶🌫
Happy to hear that!
Very helpful tutorial, thank you
simple and clear, thank you
My pleasure!
Amazing. Thank you 🙏
This is very nice and easy to follow. Also Providing the github link was thoughtful of you. Keep up the Good work
Thank you! Glad you liked it
Keep going with the good content brother 👍👍
Thank you!
Very helpful
keep it up bro, very good explaination.
Thank you
Awesome, man.
Thank you!
That's really good man 😮 keep it up
Thank you!
thanx, so clear
Most welcome!
thank you
You're welcome
thank for sharing ,, i will download your repo ,,,,
Most welcome!
Tq bro 💙
You are very welcome!
As soon as possible thanks
Soon hopefully
@@codingorbit when sir any Gus
@@codingorbit I need sir
thank you 🧡please! add Image Picker & Color Picker here.
Please ❤️
I do have a video for picking images!
Spoiler alert it also has quality compression lol 😅
Great
Thank you
@@codingorbit Please Upload the Source Code. I'm getting some issues.
I will very soon.
@@codingorbit ok 🙂
@@subrotobasak Its pinned now :)
اول ما فتت على الفيديوا قلت هاد عربي
any way thank you for this lecture
Haha you're right, most welcome!
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.
Sir can you mack video to provider state management
Yeah hopefully soon :)
What if I need to retrieve data from multiple tables?
I haven't tried that but I believe you can write sql query yourself try writing one and let me know if it works!
Sir please upload the video of audio recorder and audio player in flutter
Yeah maybe soon.
you can make video to how use database sqflite in asessts?
What do you mean using sqflite in assets?
@@codingorbit yes, i mean if have database how use in flutter
Sqflite is a local database. Watch the video it will help you to create a local database
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
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.