Hive database flutter tutorial, CRUD
Вставка
- Опубліковано 10 кві 2020
- In this video, I have discussed hive database in flutter in detail, furthermore, I have also taught how to perform basic CRUD operations on hive.
GitHub : github.com/themaaz32/hive_learn - Наука та технологія
This is soo good. Some other hive tutorial is too fast and complicated.
But yours teaches us all the important things about hive basics which I really2 need for my app development. Thank you for making this tutorial.
Please subscribe the channel
you're really good at teaching stuff man, keep up the good work 👌
Thank you. Please subscribe the channel.
dude nice lesson i've ever seen before. Greetings from Turkey
Assalamualaikum
Your tutorial is always simple explaination, amazing.thanks
Thank you man! the best teacher
The best student
Thank you Man!. Really helpful video
Thank you. please subcribe the channel for more videos!
It was a Wonderful Tutorial. Especially ValueListenableBuilder+HIVE
Thanks. Please subscribe the channel.
Thank you so much. It is really an Easy Approach to understanding Hive!
Thank you. Please subscribe the channel.
@@EasyApproach already did.
Well done!!
Thank you. Please subscribe the channel for more
Great explain thank you
Hey can you make a video on storing hive db with http
Best of the best.
Thank you. Please subscribe the channel.
thank you for great work ,
you know with sql we can use
“order by id desc”
but with hive how can we do that ?
Hey man thank you bro
Thank you so much. Subscribe the channel :)
could u help.
The method 'get' can't be unconditionally invoked because the receiver can be 'null'.
Try making the call conditional (using '?.') or adding a null check to the target ('!').
and
The method 'put' can't be unconditionally invoked because the receiver can be 'null'.
Try making the call conditional (using '?.') or adding a null check to the target ('!').
idk i put this one ( ! ) or (?.) result is
The method 'put' isn't defined for the type 'Object'.
Try correcting the name to the name of an existing method, or defining a method named 'put'.
I want to ask, is there a way to retrieve all value without displaying it to a view ?
Best
Love this video and all youre channel ! Can talk about Laravel and Node JS for Flutter
Sorry I didn't get you!
@@EasyApproach Like , we have a project in my High School , and this project are going to be presented at the end of the Yeaar ( my high school did that because of Corona Virus , instead of having course we have to pratice and create a projects for entreprises ) , but i don't know what to use for the back end , like there is a lot of back end , i saw the FrameWork Angel on Dart , there is Laravel , Node JS , mySQL , MongoDB , Ruby ONRAILS , Python with Django ( we cannot use FireBase ) so i'm just lost
you don't need a backend for a flutter app just a database is enough for the most apps except you are gonna host your own server
very very very good
Subscribe the channel for more videos :)
How to store this type of json data in hive
{
"city": "Mumbai",
"streets": [
"address1",
"address2"
]
}
when i am implementing hive there is only a white screen on my app nothings happening
Can you make a video on how we can show ONBOARDING SCREEN one time and Splash screen every time while opening the app.
I have this error and can't solve it
Unhandled Exception: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)
Why do there's problem in my Box
I have a question. If i already have the data and i want to use it with hive. I can do that on sqlite but i haven't information with Hive. What should i do? Thanks for your time.
Did you watch the complete video?
@@EasyApproach Sorry about my English maybe my question is confusing. I mean ex: I already have a Hive file database similar to .db, .sqlite files in sqlite and I want to access this file.
Does it support windows? And can I back up my data and load it on another platform?
That was amazing as like you are doing it regularly great
yes inshallah next video!
@@EasyApproach , thanks so much. That will be a great pleasure for me.
if .listenable() doesn't work:
import 'package:hive_flutter/hive_flutter.dart';
How to view the hive table file
in mobile
what about object storing ? I was facing some problem generating the adapter
What problem?
@@EasyApproach fixed it, there was version mismatch error
Good Understanding with simple example. Can we replace sqflite db with this hive db?? but there is no table structure in this db. how we can relate two sets with each other? as you said it supports RDBMS ?
You can only use hive when you have simple structures because it does not allow you to do complex queries, and you can relate two entities by my making two different boxes and by using references!
May be in future, we can expect some good support, as it is being constantly improved, and it is just new.
Thanks for your reply.
how do you compare hive vs sembast vs moor vs ...?
i think hive easy..
Is the database encrypted? If someone tries to access from files app or something?
Yes they are encrypted
Can i store an object as a value for a particular key?
Yes watch my other video on Hive
@@EasyApproach Please give me the link, i am unable to find it
Thank you for the easy approach as always.
However, I am facing issues with Hive. Can you make an easy approach tutorial on Sembast? It'll be great.
Suree
friendsBox.listenable() is not working ..... Error is listenable() is not defined for Box .... please help me
Import this
import 'package:hive_flutter/hive_flutter.dart';
@@EasyApproach Thankx .... problem solved ....
Any chance you do a video on lazy boxes? شكرا
Sure
Great tutorial.
Question: Why you didn’t use hive_generator and builder runner package? Many other tutorials have made use of it. I’m following your approach for my project. Will I face any issues if I didn’t use those packages?
And
How can you limit the list.builder? For eg; users cannot add more than 10 items.
Use it. It generates code for adapter, hence saves time.
Thank you. Please subscribe the channel.
@@EasyApproach I'm your long time Subscriber.
please do a video showcasing the animations package in pub.dev
Great idea thanks.
Please subscribe the channel so that you can get notification!
Hi!! What's the cost of Hive database? Where can I find the pricing?
It;s free and local.
When we insert the data, the data will go to last of the list but i need when we insert the data, the data will be in the top of the list.
Is possible to do this ?
If yes then please teach us and this tutorial is awesome.
#happycoding #flutter #hive
Very nice, but how about SEMBAST ?!
Will see it!
The method 'getAt' was called on null.
Restart app if you face this error.
10:55
hi guys i ma Mother fa from esays apprich H!HHQHAHA