No video

Flutter Hive Explained In 8 Minutes

  Рет қаралды 54,295

Flutter Mapp

Flutter Mapp

Күн бұрын

Пікірлер: 97
@Aspiiire
@Aspiiire 2 жыл бұрын
Bro you made it half of my outdated tutorial hahah, Great tutorial! Btw I love hive is really great😅🔥
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks so much man!! I Tried to tag you in the description but apparently you didn't appear in the suggestion because you helped me to make this. Maybe you need at least 1K subs 🤔Thanks again man! 👍🎉
@Aspiiire
@Aspiiire 2 жыл бұрын
@@FlutterMapp Thank you su much for the tag even if did not appear, I am really glad and happy that it helped you :) I am moving towards 1000 inshAllah (God Willing) slowly but the boat is moving hahha 🔥🔥🔥
@abdelrhmanazab7445
@abdelrhmanazab7445 2 жыл бұрын
@@Aspiiire here is one more subscribe from me :) great content , good luck bro
@Aspiiire
@Aspiiire 2 жыл бұрын
@@abdelrhmanazab7445 Thank you so much brother, really happy to have you onboard 😄👋
@diegoveloper
@diegoveloper 2 жыл бұрын
Great video bro! keep growing 💪
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks a lot Man! When do we collab (If we can)? I will DM you on twitter 👏
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 2 жыл бұрын
on a serious note, i like your style and you are a great motivation for me to make As Short tutorial as possible on youtube. i am looking forward to learn more from you.
@fz7833
@fz7833 2 жыл бұрын
Best Teacher in the World..
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks F Z 👏 Trying to go strait to the point 😂
@Pythonnaire
@Pythonnaire 2 жыл бұрын
You know one thing, my favorites fluttery are you and your friends, I used to watch all of their videos.
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Letsgoooo!!! 👏 Did you see the latest poll btw? (clue: maybe we will start posting daily 🤯, what do you think about that?)
@Pythonnaire
@Pythonnaire 2 жыл бұрын
@@FlutterMapp That's awesome
@florianandrieu545
@florianandrieu545 2 жыл бұрын
Great video Thank you :) As a Frenchman myself i was a bit distracted by the literal translation "By example" Actually it's "For example", you can say "By example" but it does mean "By giving example", like in the sentence "Leading by example". You will also sound nicer if you say the "s" at the end of plurals, like "3 minutesss" or "bracketsss". Well at the end i'm not sure if i'm going to use Hive, class generation... It's not my cup of tea..
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Dammmn! Thanks a lot Florian. I was not even aware of this. I will remember and say 'For example' in the future. And also try mu best to say the 's' 🤣 I appreciate it man 🙌🙌
@abdelrhmanazab7445
@abdelrhmanazab7445 2 жыл бұрын
Great video , straight to the point
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Pleasure Azab! Thanks for the comment 🔥
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 2 жыл бұрын
yah unlike your face.
@sbtopzzzlg7098
@sbtopzzzlg7098 2 жыл бұрын
Glad I found your channel.
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks a lot LG! I appreciate it 🙏 Hope you will get a lot of value ✌
@pasicupoveste
@pasicupoveste Жыл бұрын
Good video. Good explanation and you didn't loose yourself in to much details.
@Henverx
@Henverx 2 жыл бұрын
Straight to the point. Subbed
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Letsgoooooo! Thank you very much MD, Welcome to Flutter Mapp! 🔥
@evandermursh8410
@evandermursh8410 Жыл бұрын
Incredible, thank you so much dude
@sathvikmalgikar2842
@sathvikmalgikar2842 Жыл бұрын
thank you sir very easy and simple to follow along
@kasutudotdev
@kasutudotdev 2 жыл бұрын
when chads do a speed run. thanks alot !!
@FlutterMapp
@FlutterMapp 2 жыл бұрын
😂😂😂
@bennguyen1313
@bennguyen1313 2 жыл бұрын
When would you use Hive? I understand it's sort of like a local/offline database, but when should use Flutter's Moor (SQLite) or ObjectBox DB?
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 2 жыл бұрын
when you like Duh!
@urstruelyshanmukha6079
@urstruelyshanmukha6079 2 жыл бұрын
I tried your tutorial everything is fine but Problem occurs whenever I restart the App the data is lost. any solutuon for this....?
@FlutterMapp
@FlutterMapp 2 жыл бұрын
yes I have the answer for you. Actually in the tutorial I made a little mistake. You should change the order of the Hive.openBox and Hive.registerAdapter.The Hive.registerAdapter goes before the Hive.openBox! 👏🔥 I hope this help
@urstruelyshanmukha6079
@urstruelyshanmukha6079 2 жыл бұрын
@@FlutterMapp thanks Dude ,and here is a request can you do a tutorial on GraphQL
@eboatwright_
@eboatwright_ 2 жыл бұрын
Very cool and straight to the point! :D
@blackheart4785
@blackheart4785 2 жыл бұрын
Thanks.. really good explaination
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks a lot Heart! Trying to make it as fast as possible 😂😂
@thunderinvader9031
@thunderinvader9031 2 жыл бұрын
Very to the point, good soup👌
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks a lot Thunder! Keep the good vibes ⚡️
@user-jchjkitv77896
@user-jchjkitv77896 2 жыл бұрын
Thank you! always I was lazy to try it I have heard it's really good l. Now I'll give it a try.
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Yeah its a little complex to initialize for the first time (main reason this video now exist 😂) But when you are set up, its so much better than shared-preference plugin. 👏
@user-jchjkitv77896
@user-jchjkitv77896 2 жыл бұрын
@@FlutterMapp absolutely. Just this week I wanted to save complex data type to shared preference and I couldn't. The max it's give you to save string list.
@FlutterMapp
@FlutterMapp 2 жыл бұрын
@@user-jchjkitv77896 exact 😂
@AmanAli-mi5ev
@AmanAli-mi5ev 2 жыл бұрын
Thanks for this
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Pleasure Aman, have a great day 🔥
@MrAmG17
@MrAmG17 2 жыл бұрын
you were too focused of the timer... better make it longer when filming with more usable example and then cut it don to 8 mins. rather then just dropping code anywhere without any good practices/explanation.
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Humm. Thats a good point! I should I cut stuff and give more detail thats for sure. Will remember next time, thanks 🙏🚀
@mr.w483
@mr.w483 2 жыл бұрын
Agree. This video may not fit me, it just copy n paste code from the hive's documentation without any useful tips or explanation.
@kelpindev9150
@kelpindev9150 2 жыл бұрын
WOWW !!!
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks Kelvin! Always appreciate it 👏
@fityanel-rahman5552
@fityanel-rahman5552 Жыл бұрын
Any video about 'Isar'? Wdyt? The successor of hive
@aunghtet3636
@aunghtet3636 2 жыл бұрын
thank sir
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Pleasure, thanks for the comment Aung🔥
@jhonatanamortegui5852
@jhonatanamortegui5852 2 жыл бұрын
Hello, bro. There is any problem if i have a class T and it have any attributes that are also classes? Do i have to do any different configuration with this attributes?
@FlutterMapp
@FlutterMapp 2 жыл бұрын
If its the case, you need to add @HiveType and @HiveField in the other class as well and create a file xyz.g.dart 👏 Hope this help. Good point tho. I should have explain this I think ✌️
@idlevandal69
@idlevandal69 2 жыл бұрын
🥇 🏆
@FlutterMapp
@FlutterMapp 2 жыл бұрын
🔥🔥🔥🔥 Thanks IdleVandal ✌️
@BrendansReasons
@BrendansReasons 2 жыл бұрын
I like it
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Thanks a lot Brendan 🔥🙌
@Abdullah-qh3vu
@Abdullah-qh3vu 2 жыл бұрын
sir you can tell me diffence this 1. Directory directory = await pathProvider.getApplicationDocumentsDirectory(); Hive.init(directory.path); and this 2. await Hive.initFlutter(); and why we use second
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Both are the same. The first one can be user without Flutter and the second is made for Flutter. The second one will handle the directory behind the scene for you 👏 Hope this help ⚡️
@Abdullah-qh3vu
@Abdullah-qh3vu 2 жыл бұрын
@@FlutterMapp thank one more thing In hive how we can create list and and add item after create list add one by one and how can update list item
@Abdullah-qh3vu
@Abdullah-qh3vu 2 жыл бұрын
How we can apply stream in hive changing show fast
@Abdullah-qh3vu
@Abdullah-qh3vu 2 жыл бұрын
And how too update data
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Damn so much questions 🤣 I think you can find it on youtube. for the list you can put it inside a Class like we did in the video 🙏
@OtabekKhalimov
@OtabekKhalimov Жыл бұрын
Sir could you show to use hive to store TextField?????? pls
@abhishekniraj3681
@abhishekniraj3681 2 жыл бұрын
Hi friends , My question is how to make comment as tree structure with show line how reply on the comment like Facebook app , How we make such this the of ui.
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Hi Niraj. Not sure to understand what you want... Do you want to have a UI comment section like Facebook? Example the user can write in the reply box, press enter and the comment is added? If yes you can create a list.generate and if you want to have reply for each comment, you can nest an other list.generate under each comment. I hope this help, let me know 🙏🙌
@aminsamad6900
@aminsamad6900 2 жыл бұрын
Does it support windows? And can I back up my data and load it on another platform?
@FlutterMapp
@FlutterMapp 2 жыл бұрын
yes it support windows ⚡ and if you want to back up your data, you will have to save them in a server and get them from the other device and it should work fine 🙏
@aminsamad6900
@aminsamad6900 2 жыл бұрын
@@FlutterMapp I'm trying to use it, Thank you so much
@agora.minato
@agora.minato 2 жыл бұрын
Hi what is advantage to used Hive in my app flutter ?
@javierbosch1338
@javierbosch1338 2 жыл бұрын
could this be used on a windows app?
@hi-s
@hi-s 2 жыл бұрын
Why you changed to Windows is mac book m1 not good ?
@FlutterMapp
@FlutterMapp 2 жыл бұрын
The Macbook M1 I purchased is only 16G of Ram and is super slow to edit video.... The windows is 64G Ram and editing video is faster ✅🙌
@hi-s
@hi-s 2 жыл бұрын
@@FlutterMapp 🙂 I decided to get m1 8 g for flutter application That what I can afford it In my country is 1600 $
@RPAChampion
@RPAChampion 2 жыл бұрын
i dont know man , maybe a timer on screen would have been better for me, but overall decent video :-)
@RPAChampion
@RPAChampion 2 жыл бұрын
still in 1 h more than any of my video in a week so I am not the greatest critiq
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Yeah this could have been a very good idea. I did this video so fast honestly. It took like 1 hour to create and it get more views than other videos that I edit for like 2 weeks 😂😂 The simplest idea is sometime the better one 😂 Thanks for the comment 🚀
@bintangduba3892
@bintangduba3892 2 жыл бұрын
can it do list of bank account?
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Yes for sure Duba 🙏🙌 You can create any class than you want with hive! its pretty cool 🙏✌
@muzafferersoz4146
@muzafferersoz4146 2 жыл бұрын
first comment :D
@FlutterMapp
@FlutterMapp 2 жыл бұрын
loll 🚀😂😂😂 Thanks Muzaffer ✌
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 2 жыл бұрын
4:47 it did not work for sure. edit: issue solved. check comments
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 2 жыл бұрын
the previous code snippet and this one (which was sure to be run) produced same error message This builder requires Dart inputs without syntax errors. However, package:meter_switch/bankaccount.dart (or an existing part) contains the following errors. bankaccount.dart:8:3: A function body must be provided.
@niloysikdar6748
@niloysikdar6748 2 жыл бұрын
First 😃
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Letsgoo 🚀🙏 Thanks Niloy ✌
@mehdidaoud2114
@mehdidaoud2114 2 жыл бұрын
Yo 7mn ago xD
@FlutterMapp
@FlutterMapp 2 жыл бұрын
🤣🤣
@Irriya
@Irriya Жыл бұрын
Explained is not very correct, it's better to say show, but still nice short showcase of the package
@webfun-hi
@webfun-hi 2 жыл бұрын
I will subscribe to you if you show how to integrate the flutter app with the OpenCV filter
@FlutterMapp
@FlutterMapp 2 жыл бұрын
What is the OpenCV filter?? Never saw this before 🤷‍♂️🙌
@webfun-hi
@webfun-hi 2 жыл бұрын
@@FlutterMapp can you just show how to integrate flutter app with python openCV
@hexafgamer
@hexafgamer Жыл бұрын
isar > hive
@7drizzyrapula501
@7drizzyrapula501 2 жыл бұрын
great tutorial , i hv a question after opening the box n stuff if i exit n go back i get an error " HiveError: Box not found. Did you forget to call Hive.openBox()? " any suggestion
@FlutterMapp
@FlutterMapp 2 жыл бұрын
Did you found the answer? Otherwise you can you the discord server to find more help 💪👏
@briccio8343
@briccio8343 2 жыл бұрын
Hello, I get null when trying to print what I saved in my box like this: await Settings.init(cacheProvider: SharePreferenceCache()); await Hive.initFlutter(); Hive.registerAdapter(ClassHiveAdapter()); Box box = await Hive.openBox('box'); box.put('ClassHive, ClassHive(name: Fabriccio')); var hivename = box.get('name'); print(hivename); And I get this printed in the console: I/flutter (19831): null
@M37Shadow
@M37Shadow 2 жыл бұрын
I am stuck here I tried hundreds of solutions but nothing helps! PS C:\Users\Imran\StudioProjects\play_med> flutter pub run build_runner build Could not find package "build_runner". Did you forget to add a dependency? pub finished with exit code 65 dependencies: flutter: sdk: flutter hive: ^2.2.3 hive_flutter: ^1.1.0 dev_dependencies: flutter_test: sdk: flutter hive_generator: ^1.1.3 build_runner: ^2.2.0
@M37Shadow
@M37Shadow 2 жыл бұрын
I actually could solve it by copy paste the whole project to a new directory
Top 5 Flutter Tips for Big Projects
5:55
Robert Brunhage
Рет қаралды 71 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 37 МЛН
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 28 МЛН
Top 70 Flutter Tips, Widgets & Packages
16:22
Flutter Mapp
Рет қаралды 127 М.
Flutter Clean Architecture Visual Explanation
6:15
Flutter Mapp
Рет қаралды 28 М.
35 Flutter Tips That Will Change Your Life
10:53
Flutter Mapp
Рет қаралды 301 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 551 М.
What's new in Flutter 3.24 | Flutter 2024 Updates #flutter
3:43
Runtime Snippets
Рет қаралды 2,3 М.
Best 30 Flutter Widgets, Packages & Tips
5:11
Flutter Mapp
Рет қаралды 120 М.
Top 7 Flutter Animations
7:31
Flutter Mapp
Рет қаралды 104 М.
Responsive Admin Panel or Dashboard - Flutter UI - Speed Code
48:35
The Flutter Way
Рет қаралды 585 М.
Top 35 Flutter Widgets
29:29
Flutter Mapp
Рет қаралды 323 М.