📱Local Storage • HIVE × FLUTTER Tutorial ♡

  Рет қаралды 67,209

Mitch Koko

Mitch Koko

2 жыл бұрын

💬 Chat App w/ Notifications • mitchkoko.gumroad.com/l/ChatA...
📱 Flutter Courses • mitchkoko.app/
👨🏽‍💻 I'm coding a startup.. / mitchkoko
/ createdbykoko
/ createdbykoko
/ createdbykoko
💰 Book Consultation Call • mitchkoko.gumroad.com/l/CallW...
~ ;
Let me teach you how to store data locally on your device using HIVE! I will cover the CRUD operations (create, read, update, delete). It's actually super simple and easy to use. I've been exploring different database options like hive, sqflite, and firebase lately :D
HIVE documentation: docs.hivedb.dev/
📱 TIKTOK • @createdbykoko
📱 INSTAGRAM • / createdbykoko
💻 GITHUB • github.com/mitchkoko/
🖥 WEBSITE • mitchkoko.app/

Пікірлер: 121
@createdbykoko
@createdbykoko 2 жыл бұрын
💬 Chat App w/ Notifications • mitchkoko.gumroad.com/l/ChatAppMasterclass 📱 Flutter Masterclass • mitchkoko.app/ 🔥 I'm coding a startup.. www.patreon.com/mitchkoko
@ShakilKhan-pe4rc
@ShakilKhan-pe4rc Жыл бұрын
HIVE is cute though
@amiyaboxi9471
@amiyaboxi9471 Жыл бұрын
ig....updating data is same as write??
@pranjalrajput2886
@pranjalrajput2886 2 жыл бұрын
Please Make more Tutorials per week. We love your Tutorials. They are easy to understand also🤘🏻
@createdbykoko
@createdbykoko 2 жыл бұрын
thanks pranjal! I have more on the way 🤘🏻
@rohits.7752
@rohits.7752 2 жыл бұрын
Absolutely true
@qhwecumexez336
@qhwecumexez336 3 ай бұрын
You are the best flutter teacher ever on youtube. Thanks alot for sharing this knowledge for free
@urm1n
@urm1n 5 ай бұрын
"I'd love to see a video tutorial on creating a Flutter app that seamlessly syncs data between Hive and Firebase, focusing on implementing an offline-first approach. This would be incredibly helpful for developers looking to build robust and efficient mobile apps. Looking forward to your take on this!"
@darshann9312
@darshann9312 Жыл бұрын
Phenomenal Tutorial Mr. Koko, Love to see more apps with Hive DB
@josephdumon6052
@josephdumon6052 Жыл бұрын
I've been looking for solutions on how to store data locally and your tutorial really helped me a lot. Thank you and more power to you!
@createdbykoko
@createdbykoko Жыл бұрын
No problem. Glad it helped! ❤️
@sammyjokes9613
@sammyjokes9613 2 жыл бұрын
I always knew you'd bring in something sweet this Monday... Thanks Mitch ❤
@createdbykoko
@createdbykoko 2 жыл бұрын
Haha no problem 👨🏽‍💻❤️
@andronickmartusheff
@andronickmartusheff Жыл бұрын
Quick & to the point! Hive is awesome!
@Davrazan
@Davrazan Жыл бұрын
Clear explanation and awesome tutorial. thank you
@lone_wolf2020
@lone_wolf2020 16 күн бұрын
Nice and clean!
@alishermutalov4186
@alishermutalov4186 11 ай бұрын
Thanks bro! This video helps to me!
@shanneeahirwar3680
@shanneeahirwar3680 Жыл бұрын
It really helped me as a beginner thanks a lot man
@juanvidal7183
@juanvidal7183 5 ай бұрын
Thanks, Mitch. Very nice tutorial.
@giaphucnguyennho6313
@giaphucnguyennho6313 2 жыл бұрын
Wow, really easy to use and understand. Thank you for the vid. I'm making something like a game show infographics app where I need to put contestants' names up. This can be a great way to implement it.
@createdbykoko
@createdbykoko 2 жыл бұрын
yeah it's great for offline local storage :D hows your game show app coming along?
@giaphucnguyennho6313
@giaphucnguyennho6313 2 жыл бұрын
@@createdbykoko Going quite well. I also adopted the LinearPercentIndicator you covered in a video and played around with the settings, did some logics and maths here and there too. Doing projects like this is a great way to learn.
@emaanuelenan8548
@emaanuelenan8548 Жыл бұрын
Your voice is so soothing. Video is amazing also. Bro Try to make a video where we store API data in a different page by using HIVE.
@eboatwright_
@eboatwright_ 2 жыл бұрын
Very well explained!
@ayamahmoud6526
@ayamahmoud6526 Жыл бұрын
Thank you so much for clear explanation!
@createdbykoko
@createdbykoko Жыл бұрын
my pleasure :D
@itsyannic
@itsyannic Жыл бұрын
Hey Mitch, thanks a million for this great video! I've been searching for a suitable database option for my app and hive seems like a perfect fit. The only thing I couldn't find yet, is how to prepopulate the database/box. Is that possible? I'd like to repopulate the database with a few list of climbing grades, counts, booleans, etc. Would really appreciate a small hint if that's possible and maybe where I can find information on implementing this. Thanks a million and keep it up! Yannic
@jihedbouchnak
@jihedbouchnak 9 ай бұрын
perfect nice and easy one
@abdurahmon2827
@abdurahmon2827 Жыл бұрын
Thanks for every video
@thedev2183
@thedev2183 Жыл бұрын
Smple but impressive for junior :) Thx for video. I liked it.
@foodxcooking4448
@foodxcooking4448 5 ай бұрын
Amazing 😎 🤩 🤩
@returnZeroo
@returnZeroo Жыл бұрын
Simple and straight forward
@michaelgyamfi2275
@michaelgyamfi2275 Жыл бұрын
It really simple and easy to use hive. Mitch, you're the the best!
@user-vd6sv1ci4n
@user-vd6sv1ci4n 7 ай бұрын
Thank you for your tutorial, all are superb! Can you make a tutorial for php mysql as well for the backend?
@crazy-man
@crazy-man 2 жыл бұрын
yes, a simple database, only in sql you can prepare the mybase.sql file in advance and insert data into it through sqlbrowser, but are there similar functions for hive?
@aprendiendoaprogramar4984
@aprendiendoaprogramar4984 Жыл бұрын
Thank you! It has really helped me improve. I don't handle this part well but I have no problem implementing it. Now I have a question how to implement that method Local Storage • HIVE • Firebase × FLUTTER. If it is possible to add it in this tutorial it would be excellent.
@AntonioPenafiel-ic7zj
@AntonioPenafiel-ic7zj 8 ай бұрын
Excellent
@redinternet9893
@redinternet9893 Жыл бұрын
Hive can only store data using key value mathod right? Or can i make a relationship database that store data with specific column and row in hive?
@utibe-abasiessien767
@utibe-abasiessien767 7 ай бұрын
Thanks MitchKoko for your tutorials, you're an amazing teacher. I have a request. Please could you do well to take a tutorial on a flutter getx method for an auto response chat. And please don't speed up the video. Thank you.
@ashokchandra4911
@ashokchandra4911 Жыл бұрын
Awesome 👍❤❤❤❤
@melihacoskun8268
@melihacoskun8268 Жыл бұрын
you are great thanks
@sezaz4884
@sezaz4884 Жыл бұрын
Thank you Mitch, that explained the concept of Local storage very well even to a newbie like me, I was trying to setup ObjectBox but I gave up, too complicated :(, I have a couple questions about using Hive: 1. I am trying to capture and store email addresses from landing page using TextFormField, how can I do that using Hive? 2. do you know if there is a 'Control Panel/Log' to list/view database content? thanks again and keep up the good work
@Soulandbone
@Soulandbone Жыл бұрын
Well for the 1st question every textFormField has an associated controller, from there you can extract the emails, and set a Function that submits the info to the database. With hive you create the database and with .add command you add it to the list and it will be saved. And to view database content, well, you can just create a print statement that reads the contents of the list to which you keep adding items in 1.
@MohamedAhmed-ys2np
@MohamedAhmed-ys2np 2 жыл бұрын
Please koko Make tutorial about full e_commerce app with every thing 🙏you are great man 💜and your way to explain any thing it is very easy and helpful, 💚
@createdbykoko
@createdbykoko 2 жыл бұрын
sure i'll add it to my to do list haha
@Harshitha-hhh
@Harshitha-hhh Ай бұрын
Hello , I did todo list app using your tutorial but my data are not saving in database can you please suggest something... It will very helpful for me
@nateg617
@nateg617 Жыл бұрын
Do you know if the local storage gets deleted as well when the user uninstall the app?
@lophixarts
@lophixarts Жыл бұрын
do i need to reference my box for every class or can i make it global?
@ymrizal4753
@ymrizal4753 Жыл бұрын
before i watch just like your video hope i can easly understand it
@hebozhe
@hebozhe Жыл бұрын
Okay, but can Hive boxes be made for use in a global scope?
@Ahl.12
@Ahl.12 2 ай бұрын
thank you..
@FaheemFMT
@FaheemFMT Жыл бұрын
thanks bro
@xt_noname_ft4242
@xt_noname_ft4242 Жыл бұрын
How can edit the stored data or acsess it in other classes?
@jeschinstad
@jeschinstad 2 жыл бұрын
Very nice! :)
@createdbykoko
@createdbykoko 2 жыл бұрын
I’ve been loving hive haha it’s great
@adttwo
@adttwo Жыл бұрын
Another simple, easy-to-follow tutorial - thanks for taking the time to put these together. I'm curious if anyone is having trouble getting this to work on M1 Mac? I keep getting a cocoapods error ("Cocoapods not installed or not in valid state" when I try to run the code. I've uninstalled cocoapods, reinstalled with Homebrew but still no dice. Very frustrating.
@anniewey
@anniewey Жыл бұрын
im using m1 but have no issues. i believe should be related to ur cocoapods installation setup.
@dev.faizan
@dev.faizan Жыл бұрын
i think we should add async ,wait in write, delete function
@GaBoyInKy
@GaBoyInKy 2 ай бұрын
**fixed** When I click on the lightbulb for me there is no import hive library. Only Create and Extract. I'm using Windows 11 and everything is current. No longer an Issue. I'm using VS Code so in terminal I ran "flutter pub add hive" and this is the following - "hive" is already in "dependencies". Will try to update the constraint. So after that everything seems to work.
@Faryalfamily
@Faryalfamily 11 ай бұрын
Second it. It's my learning second day of flutter
@createdbykoko
@createdbykoko 11 ай бұрын
Amazing!! Keep it up!! How’s it going so far?
@Faryalfamily
@Faryalfamily 11 ай бұрын
@createdbykoko loving it so far. Just finished watching all the widgets. Of course, I can't even write any one of these widgets so far, but it is giving me a general idea of the complexity. I feel it very easy so far. But when I come to the ui section then I will find it the real truth. I love how you make your video simple, short, and to the point and teaching professionals things in no time. I think I can become a professional in a month or two. If I continuously watch your videos every day and spend 3 to 4 hours a day. Amazing teaching skills 👏
@dev.faizan
@dev.faizan Жыл бұрын
why app not request to access file manager to store data ? how hive storing the data
@VirtualEducationLYF-dd1lh
@VirtualEducationLYF-dd1lh Ай бұрын
bro how to find size of the local storage size and free space available in flutter please tell bro
@AWildAJRAppeared
@AWildAJRAppeared 2 жыл бұрын
I've really been wondering, how do you present your apps on a mobile screen like that? Would love to do that as well if it doesn't involve crazy video editing
@createdbykoko
@createdbykoko 2 жыл бұрын
rotato.app/?ref=mitch
@aayasir217
@aayasir217 4 ай бұрын
Sqf lite or hive. Which is better?
@7MechanicalAnimal
@7MechanicalAnimal 2 жыл бұрын
Nice tutorial. Could you show how 2 apps can communicate with each other with messages? If that is possible. Via firebase perhaps?
@juanmacias5922
@juanmacias5922 2 жыл бұрын
On Firebase/Firestore you'd need to make a "messages" collection, and read the messages to that collection using a stream in the order of "createdAt" (which is a variable you need to create using Timestamp.now()), and post to the collection.
@7MechanicalAnimal
@7MechanicalAnimal 2 жыл бұрын
@@juanmacias5922 thanks for the reply. Can you post a link to the docs if you have one?
@FLEX110
@FLEX110 2 жыл бұрын
Are these codes valid for Android operating systems??
@b_rabbit9774
@b_rabbit9774 Жыл бұрын
can you do backup and restore please? Thanks as always.
@djjunayet2112
@djjunayet2112 Жыл бұрын
Nice
@yamilrh
@yamilrh 2 жыл бұрын
nice work.
@createdbykoko
@createdbykoko 2 жыл бұрын
Thankuuu proyecto
@shuku_yega
@shuku_yega Жыл бұрын
Could it get strings (text) from a text editing controller if paired with a key?
@matthiasimegi8211
@matthiasimegi8211 Жыл бұрын
Yes it can
@lakshitsagar6299
@lakshitsagar6299 2 жыл бұрын
Useful✨✨ ....thanks
@createdbykoko
@createdbykoko 2 жыл бұрын
My pleasure lakshit :)
@faisalfotoh1909
@faisalfotoh1909 Жыл бұрын
please make video by using flutter ui explain Dart Type Conversions
@mindblower113
@mindblower113 Жыл бұрын
Thanks broo
@createdbykoko
@createdbykoko Жыл бұрын
My pleasure 😎
@jobjosekutty9281
@jobjosekutty9281 2 жыл бұрын
Thank you
@createdbykoko
@createdbykoko 2 жыл бұрын
Your welcome 😉
@usr829
@usr829 6 ай бұрын
Hive is async or not?
@rivexeditz
@rivexeditz 2 жыл бұрын
Hey bro, I needed help! I am making a wallpaper app linked to firebase.. I wanted to know, how can I serve the user with wallpapers related to a specific keyword? Like for eg. if a user searches for Lamborghini, he should get wallpapers of only Lamborghini and not other cars and wallpapers
@wykeless
@wykeless 2 жыл бұрын
add keywords field in the database, and from search field search the keywords field in database
@rivexeditz
@rivexeditz 2 жыл бұрын
@@wykeless Okay you mean that I should add a keyword for the images related to them and then in the code, I should add those keywords, and connect it to the search bar and the database
@user-uk4ny3ul6o
@user-uk4ny3ul6o 7 ай бұрын
how to searche and flitter hive box
@itsahmed-dev
@itsahmed-dev Жыл бұрын
Hey, Awesome content. I just wanna know why Hive and why not something else like shared_preference or sqlite? Thanks
@Soulandbone
@Soulandbone Жыл бұрын
Hive is significantly faster, than shared preferences, and sqlite is for different use cases as sqlite is for relational databases, in cases where you need to do simple things and you don't need queries to search for info Hive makes more sense.
@itsahmed-dev
@itsahmed-dev Жыл бұрын
@@Soulandbone So basically Hive is non-relational and faster than shared preferences while SQLite is relational. Cool. Thanks
@keithbacalso9433
@keithbacalso9433 2 жыл бұрын
I dont see any .add in the Hive docs, am I right? or is it really there? all I see in write is .put
@createdbykoko
@createdbykoko 2 жыл бұрын
You know what you are right, I don’t actually see ‘.add’ in the docs, but i did find it here in the flutter hive package pub.dev/packages/hive
@SaifAli-zf5qi
@SaifAli-zf5qi 2 жыл бұрын
thanks mitch 4 another great tutorial, i want ti make future in flutter what could i do. plz guide if possible 4 u. thanks
@createdbykoko
@createdbykoko 2 жыл бұрын
My best advice is start now. Create something very small :)
@SaifAli-zf5qi
@SaifAli-zf5qi 2 жыл бұрын
@@createdbykoko thanks ❤
@createdbykoko
@createdbykoko 2 жыл бұрын
@@SaifAli-zf5qi good luck! Ask me questionsif u need
@SaifAli-zf5qi
@SaifAli-zf5qi 2 жыл бұрын
@@createdbykoko 😍
@ibnunuur1349
@ibnunuur1349 Жыл бұрын
Plz bro Flutter favourite list with local storage Naxt Tutorial
@shouryasrivastava6442
@shouryasrivastava6442 2 жыл бұрын
bro plz create a video on a roadmap for learning flutters for beginners...
@createdbykoko
@createdbykoko 2 жыл бұрын
Okay i will add that to my list✌🏾
@createdbykoko
@createdbykoko 2 жыл бұрын
What are you working on now with flutter?
@arianmalmir8220
@arianmalmir8220 Жыл бұрын
Miumen bash !
@magacaygamaxamuud7253
@magacaygamaxamuud7253 2 жыл бұрын
Thanks ,I am trying maplestory
@createdbykoko
@createdbykoko 2 жыл бұрын
hahaha nice good luck! I had a lot of fun making maplestory ♡
@magacaygamaxamuud7253
@magacaygamaxamuud7253 2 жыл бұрын
@@createdbykoko 👍++
@fayazmohammad2813
@fayazmohammad2813 Жыл бұрын
Last time I used this, there were so many bugs
@createdbykoko
@createdbykoko Жыл бұрын
What kind of bugs? I can help u out
@fayazmohammad2813
@fayazmohammad2813 Жыл бұрын
@@createdbykoko sometimes when I restart, the data was not persistent.
@mrsp7693
@mrsp7693 2 жыл бұрын
Hi I am Sakthivel from tamilnadu Dharmapuri friend please post rest API series get post push delete update video make me please
@createdbykoko
@createdbykoko 2 жыл бұрын
Hey Sakthivel! I will look into rest API for u ♡
@mrsp7693
@mrsp7693 2 жыл бұрын
Thank you friend
@rawvocal8789
@rawvocal8789 2 жыл бұрын
Rest api with state management
@alert4162
@alert4162 2 жыл бұрын
hive это худшее решения для локальной базы
@createdbykoko
@createdbykoko 2 жыл бұрын
Can you explain why?
@alert4162
@alert4162 2 жыл бұрын
@@createdbykoko Hive slow, stores the entire database in memory, can beat the database and block the entire application, does not work with isolates, no migrations, no ACID, no transactions
@alert4162
@alert4162 2 жыл бұрын
@@createdbykoko I myself am a junior, and I don’t know much about it, but all the seniors with whom I spoke kept saying that it’s better not to use hive
@code4430
@code4430 Жыл бұрын
@@alert4162 what is the better alternative?
@alert4162
@alert4162 Жыл бұрын
@@code4430 the same drift, shared_preferences, sqlite
📱 TO DO App • Flutter Tutorial ♥ Hive Local Storage
42:35
Mitch Koko
Рет қаралды 149 М.
How to use Hive with Flutter
13:38
Flutter Mapp
Рет қаралды 31 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 134 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 82 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 45 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 63 МЛН
Keeping it local: Managing a Flutter app's data
44:57
Flutter
Рет қаралды 82 М.
🖥📱RESPONSIVE DESIGN • Flutter Tutorial
8:03
Mitch Koko
Рет қаралды 275 М.
📱 HABIT TRACKER • Flutter Tutorial ♥ Hive Local Storage
35:06
Provider 📱 Simple State Management • Flutter Tutorial
5:48
Nature's Incredible ROTATING MOTOR (It’s Electric!) - Smarter Every Day 300
29:37
Flutter Local Database Using sqfLite
20:51
Coding Orbit
Рет қаралды 34 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 412 М.
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 164 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 10 МЛН
İĞNE İLE TELEFON TEMİZLEMEK!🤯
0:17
Safak Novruz
Рет қаралды 511 М.