Honestly speaking Hussain, I saw many videos but couldn't find such deeply explained video like this. You have taught the process completely covering every concept. Really appreciate your eloquent style of delivery. Hats of to you. Excellent Job. Keep doing the amazing work.
Thanks Man. That's the only tutorial for me that actually has compiled and run devices after spending hours. Else I'm left with leaving it. Keep Sharing
Tutorial is good. I've learn lots of thing. But the only thing which I need that, order the chat list (in your case home screen) based on the recent unread messages as in whatsapp.
To further improve on this app, if we want a really good design for the chat, and also add more complex chat functionalities (replying to messages, adding emojis, preview an image with a delete option before sending it, sending a voice message...), would you advise us to look into other packages, and if so, would you advise flutter_chat_ui, chatview or another one? Thanks!
Hi, The current package we use in the video has all the required functionality baked into it. It supports displaying audio messages, emjois, as well as the ability to delete chat messages. You'll just have to link the business logic.
@@m_hussain_mustafa oh okay, it might be because I didn't find any documentation on it then (for example for the voice message display, or the emoji reaction to a message). Would you know any place where I or other viewers could find these? (I don't see those 2 features in the DashChat official doc) Thanks a lot.
Can you please add the prerequisite for any course you make ? That would be huge help Thank you for this amazing tutorial ...please keep posting it helps a lot
Nice, a lot to learn. Two questions please: If i buy the source code, do i have to connect it to my firebase account? What is the maximum number of users this app can take?
Hi, Yes you would still have to connect your own Firebase project, moreover this is not a commercial grade chat application so I would not recommend deploying it in production as is.
well very well sir ,one humble request , could you please add subtitles, your accent is mix of American, British and Pakistan accents of english , it makes really hard to watch this video in speeds other than 1X
I appreciate you sharing this amazing tutorial with us. I have a question: can I create my own Singleton class instead of using the get_id package? My reason is that I want to minimize the number of libraries used in the project.
Hi how are things. I have been watching your videos and they are excellent. You could make a video tutorial of an example of a Blog app or similar where the bloc pattern could be implemented with firebase, basic functions such as (Create data, Get data, Update data, delete data, among others). 👍
Hi, thanks a LOT for the tutorial, you explained very well and it was really well stuctured/explained!! Just a quick question: is there a reason why we create different GetIt instances in every file (unless I'm mistaken), instead of importing for example one instance from the main class everytime? (I know it works ofc as that's what GetIt is made for from what I understood, but I would be interested in the reasoning behind, as it would seem easier to read for me. Thanks !)
Hi, Thanks for the comment. Get It is basically a simple Service Locator. In the app we build we basically only register our services once using GetIt register function. Everywhere else we just access the same instance by using Getit get function, we do not create a new instance. We could've done the same by using singleton pattern but that is something that I and a lot of industry experts suggest to steer away from. Hope this helps. :)
I have a problem with login page ,there is always show password is incorrect .I checked the my password few times but error is not fix?what is the problem there?
My app is getting crashed on navigation to signup page and showing exception on invalid mail and password only when running through debug console but the app works perfectly in Terminal using flutter run .Can I know what may the issue?
When both the users send message alternatively less than a minute the order is changing .... That is the message of user 2 is displayed above the message of user 1 but it should be vice Versa .... Can you say the reason please and how to sort them...
Hi, I guess this has something to do with the message timestamps. I'd recommend taking a look into how the timestamps are being represented and maybe that'll take you to the root cause of the problem.
@@m_hussain_mustafa thats wonderful, please add push notifications in this project as i am trying that since last 1.5 months for a freelance project but i am not able to add automated push notifications in it.
Exception has occurred. FirebaseAuthException ([firebase_auth/invalid-credential] The supplied auth credential is incorrect, malformed or has expired.)
Yes it's almost the same logic just a few changes. For the video you'd have to display a widget capable for playing a video. And for the message you save in firestore save the video url as content of message.
Connected devices: Windows (desktop) • windows • windows-x64 • Microsoft Windows [version 10.0.19045.4412] Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.142 Edge (web) • edge • web-javascript • Microsoft Edge 125.0.2535.85 [1]: Windows (windows) [2]: Chrome (chrome) [3]: Edge (edge) Please choose one (or "q" to quit): q what should I choose
Hi, I believe the concepts required to implement functionality for updating user profile picture or details have already been covered in the video. It would just be using the same concepts to achieve a different result, the video was already 4 hours long and I also cant update the video once it's published so for now your best bet would be to google the problem you have and then try to combine knowledge learned from here with information you find elsewhere.
../../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:180:35: Error: The getter 'notGCed' isn't defined for the class 'IgnoredLeaks'. - 'IgnoredLeaks' is from 'package:leak_tracker/src/leak_tracking/primitives/model.dart' ('../../../.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/src/leak_tracking/primitives/model.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'notGCed'. var newNotGCed = ignoredLeaks.notGCed.track([...notGCed, ...classes]); ^^^^^^^ Target kernel_snapshot failed: Exception FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/Users/merger/Devlopment/flutter/bin/flutter'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights.
Good tutorial, but is there anyone experiencing this issue -> E/flutter (10015): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument: Instance of 'MessageType'
underrated flutter developer! LOVE THIS SOFTWARE DEVELOPER
Thank you very much.
Honestly speaking Hussain, I saw many videos but couldn't find such deeply explained video like this. You have taught the process completely covering every concept. Really appreciate your eloquent style of delivery.
Hats of to you. Excellent Job. Keep doing the amazing work.
Thanks a ton
I'm blown away by the depth of this tutorial. Awesome job bro.
I’m stocked to hear that.
After a couple of weeks I finally finished your video, thank you so much for the tutorial, i feel like I learnt alot :)
Glad it helped!
U advise me to watch it? am I gonna rly learn?
Thanks Man. That's the only tutorial for me that actually has compiled and run devices after spending hours. Else I'm left with leaving it. Keep Sharing
Awesome to hear that. 👏
can you please share the code
or else give your github link
You are a gem dude! Havn't even finished the video and I already know it's awesome! Keep doing what you do ❤
Thanks 😊
Starting Today InshAllah I will complete it Soon
InshAllah
Amazing Work !! Mustafa Sir
Finally Completed it today !
Great. Awesome to hear that. :)
Dude you literally saved my life, no joke
Awesome to hear that. 😄
It's vary Useful video too learning flutter and firebase very very thank you ❤
You are welcome
bro can you send me schema of chat.dart. The link to source code is not working
Tutorial is good. I've learn lots of thing. But the only thing which I need that, order the chat list (in your case home screen) based on the recent unread messages as in whatsapp.
Hi,
This is not going to be easy to implement with the current logic we have for implementing chats between two users.
@@m_hussain_mustafa can we expect a new video on this topic 😁?
most comprehensive and detailed tutorial
Thank you. :)
I noticed that the link to the source code is saying 404 not found. Could you please help me out and renew it? Thanks a bunch!
Very good video, could follow code easily thanks for the tutorial appreciate it!
Glad to hear that!
You make complex concepts seem so simple. Thanks man. 😀
Glad to hear that!
To further improve on this app, if we want a really good design for the chat, and also add more complex chat functionalities (replying to messages, adding emojis, preview an image with a delete option before sending it, sending a voice message...), would you advise us to look into other packages, and if so, would you advise flutter_chat_ui, chatview or another one?
Thanks!
Hi, The current package we use in the video has all the required functionality baked into it. It supports displaying audio messages, emjois, as well as the ability to delete chat messages. You'll just have to link the business logic.
@@m_hussain_mustafa oh okay, it might be because I didn't find any documentation on it then (for example for the voice message display, or the emoji reaction to a message).
Would you know any place where I or other viewers could find these? (I don't see those 2 features in the DashChat official doc)
Thanks a lot.
YOUR THE BEST IN FLUTTER
Thanks :)
Great work! this tutorial helps lot. I think you should make the part 2 for the group chat, voice messages and the push notifications.
Can you please add the prerequisite for any course you make ? That would be huge help
Thank you for this amazing tutorial ...please keep posting it helps a lot
Hi, what do you mean by prerequisites? Usually all the courses I create fall in the category of catering to beginner and intermediate developers.
@@m_hussain_mustafa Okay Thank You for answering
I am going to make this and add in my resume
Great and best of luck 👍
Nice, a lot to learn. Two questions please:
If i buy the source code, do i have to connect it to my firebase account?
What is the maximum number of users this app can take?
Hi,
Yes you would still have to connect your own Firebase project, moreover this is not a commercial grade chat application so I would not recommend deploying it in production as is.
I cant help you connect to firebase .
This is exactly what I was looking for!
Great to hear that.
Excellent tutorial man❤
Thank you.
Woww. Great. Fully functional app ❤❤❤
Yea isn't it awesome. Thanks for supporting.
We want more firebase content !
Hopefully more to come soon!
thanks man.kindly make a toutorial on implementing audio and video call functionality👀
Hi,
I'll try to create a tutorial on this topic.
Hey brother, could you talk about deep linking in flutter...I find this topic to be very difficulty
Hi,
I cannot guarantee but I will try my best to create a tutorial on this topic.
well very well sir ,one humble request , could you please add subtitles, your accent is mix of American, British and Pakistan accents of english , it makes really hard to watch this video in speeds other than 1X
I appreciate you sharing this amazing tutorial with us. I have a question: can I create my own Singleton class instead of using the get_id package? My reason is that I want to minimize the number of libraries used in the project.
Yes you can.
Amazing! This is indeed a high quality tutorial!
Thank you very much.
Super
Do one video on firebase and awesome notifications
Hi,
Will try to create a video on this topic.
please create more application tutorials
Love your style of presentation
Thank you 😊
Loved your teaching❤.But I have a doubt= How can we make other user available in chat only after searching their name using search bar
Just Completed this one, Learnt alot.
Thanks
Happy to hear that. Thanks.
Hi how are things. I have been watching your videos and they are excellent. You could make a video tutorial of an example of a Blog app or similar where the bloc pattern could be implemented with firebase, basic functions such as (Create data, Get data, Update data, delete data, among others). 👍
Thanks for the suggestion will try to create a video on this topic. :)
@@m_hussain_mustafa excellent ☺️
And that's preety much that we have to do.
Thanks xD
Haha you're welcome 😊
can you pls share the code
@@ishanjitmukhopadhyay164 Link to the source code is in the description.
Hi, thanks a LOT for the tutorial, you explained very well and it was really well stuctured/explained!!
Just a quick question: is there a reason why we create different GetIt instances in every file (unless I'm mistaken), instead of importing for example one instance from the main class everytime?
(I know it works ofc as that's what GetIt is made for from what I understood, but I would be interested in the reasoning behind, as it would seem easier to read for me. Thanks !)
Hi, Thanks for the comment. Get It is basically a simple Service Locator. In the app we build we basically only register our services once using GetIt register function. Everywhere else we just access the same instance by using Getit get function, we do not create a new instance. We could've done the same by using singleton pattern but that is something that I and a lot of industry experts suggest to steer away from. Hope this helps. :)
@@m_hussain_mustafa okay that's very clear, thanks a lot for taking the time to reply!
Which state management is used?
Cannot find the source code its showing some error 404
Bro I am getting problem in Firebase database.. Messages are not shown in my database even though I have copied the code exacty.
Kindly also make a video for Push Notification, like if we want to send notification to different users or different roles.
Hi,
I will try my best to create a tutorial on this topic.
I have a problem with login page ,there is always show password is incorrect .I checked the my password few times but error is not fix?what is the problem there?
Brother I am getting error all working perfectlly user send message then it's send but receiver not receive that message
My app is getting crashed on navigation to signup page and showing exception on invalid mail and password only when running through debug console but the app works perfectly in Terminal using flutter run .Can I know what may the issue?
When both the users send message alternatively less than a minute the order is changing ....
That is the message of user 2 is displayed above the message of user 1 but it should be vice Versa ....
Can you say the reason please and how to sort them...
Hi,
I guess this has something to do with the message timestamps. I'd recommend taking a look into how the timestamps are being represented and maybe that'll take you to the root cause of the problem.
Hi I'm a beginner...which state management should i learn 1st?
Hi,
I think beginner should learn Stateful, and Stateless Widgets and InheritedWidgets.
Provider statement manegement is better
Can this app run on an ios device?
Yes it can.
what are your macbook specifications bro??
I have a MacBook Pro M1.
@@m_hussain_mustafa thats wonderful, please add push notifications in this project as i am trying that since last 1.5 months for a freelance project but i am not able to add automated push notifications in it.
I encountered an exception while attempting to log in with an invalid email and incorrect password
Exception has occurred.
FirebaseAuthException ([firebase_auth/invalid-credential] The supplied auth credential is incorrect, malformed or has expired.)
Hi, Firebase throws an exception by design for an invalid email/password combination, you'll have to catch and properly address this issue.
Thanks man
You're welcome 😊
hi, i'm need to send video in chat, the way to do this is same as image?
Yes it's almost the same logic just a few changes. For the video you'd have to display a widget capable for playing a video. And for the message you save in firestore save the video url as content of message.
@@m_hussain_mustafa thanks 😊
Connected devices:
Windows (desktop) • windows • windows-x64 • Microsoft Windows [version 10.0.19045.4412]
Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.142
Edge (web) • edge • web-javascript • Microsoft Edge 125.0.2535.85
[1]: Windows (windows)
[2]: Chrome (chrome)
[3]: Edge (edge)
Please choose one (or "q" to quit): q what should I choose
Whichever one you want to run the app on.
those are the devices connected to your device. you just need to use your mouse cusor to select one
amazing
Thanks.
Hi iam getting the error at vedio timig 17:56
Type 'TestDefaultBinaryMessengerBinding' not found.
can u please help
idk why the data is not storing in firebase database
Any error logs? you could share?
thank you man
You're welcome 😊
how to update the profile image ? and user details? in this project? can you briefly talk about it?
Hi,
I believe the concepts required to implement functionality for updating user profile picture or details have already been covered in the video. It would just be using the same concepts to achieve a different result, the video was already 4 hours long and I also cant update the video once it's published so for now your best bet would be to google the problem you have and then try to combine knowledge learned from here with information you find elsewhere.
heyyy Hussain my chat messages keeps on returning empty
In firebase do your messages have content in them?
@@m_hussain_mustafa yes, thank you i just resolved it
Chat aur message page ki coding?
video ky inder hi hai
sir,some error occured can you please help me?
IgnoredLeaks error show in my output
I have no idea what this error could be without additional information.
../../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:180:35: Error: The getter 'notGCed' isn't defined for the class 'IgnoredLeaks'.
- 'IgnoredLeaks' is from 'package:leak_tracker/src/leak_tracking/primitives/model.dart' ('../../../.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/src/leak_tracking/primitives/model.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'notGCed'.
var newNotGCed = ignoredLeaks.notGCed.track([...notGCed, ...classes]);
^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/merger/Devlopment/flutter/bin/flutter'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Plz help me
Need a video on Bluetooth communication 😢
Hi,
I abbot guarantee buy I'll try to create a video on this topic.
how get the current logged user profile picture and name
The firebase auth package documentation will have details for this.
why your delete resources
2:16:26 (watched til here will watch it to last tomorrow)
Did you watch the remaining dude!!
thanks broo 😇
Welcome 😊
NotGCed error in my code
I do not have any idea, just by this error snippet.
Please give me your source code, your source code link is not accessible, hope you can upload it to github,Please Please
Hi,
Hi,
I checked and the source code link in description is working.
how to delete message??
hlo brother i stuck into a problem can you please fix it for me
Hi,
Is it related to this video or the other tutorials I have?
@@m_hussain_mustafa brother i am working on a project it's related to that
no brother i am working on a project in that i stuck
@@arunkashyap3527 Hi I’d recommend scheduling a meeting with me if you require detailed help. The link to that is on the description.
@@m_hussain_mustafa oh hell nah
Great tutorial, but i think a tutorial on using a different approach would be great, not everything supposed to be firebase
Hi,
Thanks for the comment. I plan to release other tutorials using other services such as Supabase or Appwrite etc. Be on the lookout for those.
@@m_hussain_mustafa I'm hooked, I'm new to the field and I'm planning to build lot's of things, looking forward for more content from you
Please help me file chat.dart !
Hi, what issue are you facing?
Good tutorial, but is there anyone experiencing this issue -> E/flutter (10015): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument: Instance of 'MessageType'
where is the link to the models chat.dart, message.dart, consts.dart i can't find it in the description. any one help me please!
Hi, in the description under the Resources heading there is the Resources link.
❤ thanks