Just Finished this tutorial. it's the amazingly rich content. bloc, hydrated bloc , BottomNav, SingleChild Scroll , Modals , List manipulation , route navigation , useful flutter packages and a lot more thank you again.
Hi, I'm glad it helped you. Of course, there will be more great Flutter projects in the future, so stay tuned. If you want to support our hard work, you can buy a coffee through the link in the description or via 'Thanks' button on RUclips itself. Anyway, thank you for the feedback😊
Even before started watching i thank you so much for taking efforts in building app with Bloc state management. Theres very little content on state management and hope u would come up with more on Bloc state management. Thank you again
I really like your videos with Flutter Bloc please keep uploading more videos using Flutter Bloc Pattern, because on youtube there are very few who use it, and you are the best thank you very much for sharing.. Please can you upload a video Google Maps, Gps, Location, using Flutter Bloc Pattern
We've recently monetized our RUclips channel, we'd be happy if you support us by "Thanks" button just after the "Download" button😊 or with buying a coffee which is in the description)
nice video, but for the task_bloc, i prefer to use only one variabel to store all data from pending, completed, favorite, and remove. and when it showed up in the specific page, just use blocSelector to filter the data using the 'is....' parameter
Hi, thank You for the feedback. I'm planning to do it. Currently I'm working on another real project which includes your question. If I do it, after that, make a tutorial about that.
Thank you for your tutorial! It helps me a lot in getting better understanding about flutter. 2:01:33 - It got me stressed out for a while. Luckily, I found a solution from stack overflow. When we tap on the menu item, it's calling a Navigator.pop() method to close the Popup Menu Button which closes our bottom sheet dialog instead. The solution is just to use Future.delayed() on onTap. onTap: () { Future.delayed( const Duration(seconds: 0), editTaskCallback, ); }, Hope this can be of help to someone else in the future.
thank u sir, i have on qs i used multi provider at the top of material app and i have cubit that i want to use it from 2 different screens but each time i use BlocProvider.of(context) it create NEW INSTANCE is that how bloc work?? cuz in my mind i though it would be singletone
Sorry, I didn't get your qn exactly. Solution of what understood: Try context.read as I did in the course. To do this, you must import the Flutter BLoC to that class(screen)
@@AJFlutterTutorials thank u sir for ur reply my problem was i use BlocProvider.of(context) and its create new instance not singletone...but when i checked my code i was using blockProvider with create (which create new instance) and it was stupid mistake by me cuz iam new to bloc thanks for trying 2 help me u earned new subscriber 💙
Hi I loved the tutorial. Just one suggestion can you please add the github link instead of google drive as it helps us to straight away see the files on github if we want to. Other than that great tutorial
Hello. I am a beginner in flutter and I was wondering how I might be able to not remove the task from the "Pending Tasks Screen" but rather from the List of pending tasks along with adding the line through decoration when checkbox is clicked. I would appreciate your help a lot! It has been very wonderful and i learned more than literally 2 udemy courses on the matter. Thank you.
Hi, for that you just need to update the update function. there you need to do that update function deletes old task and doesn't add it to completed tasks, instead again adds it into pending task using copyWith method. while using copyWith, make the task title line through. I hope you got the idea. try it. and tell me whether you did it or not
@@AJFlutterTutorials So I tried fixing that. and I definitely did something wrong that what would happen when I click on the checkbox is that it moves it to the completed tasks screen and doesn't even remove it from the pending tasks screen or even checks it.
Even tried fixing that again and now it doesn't move it to the completed tasks screen or remove it from pending tasks. So I used the local history to restore everything to how it was before I updated anything for now.
It'll be helpfull if you go more deep with more states and event with more than two blocs. We face issue when number of bloc increases and can't figure out the data passing, when enent of bloc 2 requires the data of state of bloc 1
@@AJFlutterTutorials I know it's not project but that's what we are building after watching your tutorial. So we need to see some glimpse of the data passing from one bloc to another and handling multiple blocs in your tutorials. I know it's little complex but believe me Nobody on RUclips did a video on that. If you can come up with that video.. Millions of people will like it.
Hi, I provided it when I upload the course parts separately and sorry I forgot it in this whole course. And now I've also just added it here in the course description. Thank you for reminding :)
Hi I have a question. I'm on the part of using the Hydrated Bloc. I followed your code structure but when I press the Hot Restart and close the application, all of the tasks have gone. Is there something wrong on my end ?
@@AJFlutterTutorials Actually I have fromMap and toMap function in the tasksState and also in the hydrated bloc file but when I pressed hot restart, it goes back to the initial state which is an empty list. I can't figured it out since I followed your code structure
no worries figure out actually vscode is giving me wrong serialization... for others use : factory TasksState.fromMap(Map map) { return TasksState( allTasks: List.from((map['allTasks']?.map((x)=> Task.fromMap(x)))) );
Hi Angel Suresh Karki, Have you ever used shared_preferences? // Obtain shared preferences. final prefs = await SharedPreferences.getInstance(); // Save an integer value to 'counter' key. await prefs.setInt('counter', 10); // Save an boolean value to 'repeat' key. await prefs.setBool('repeat', true); // Save an double value to 'decimal' key. await prefs.setDouble('decimal', 1.5); // Save an String value to 'action' key. await prefs.setString('action', 'Start'); in that case you manually use map to set integet or bool or somerthing else and you get the value by the key. On the other hand, with Hydrated Bloc, you only have to use toMap to set the values and fromMap to get the value from local storage
Hi, in the tasks_state.dart file you have the list called ''allTasks''. this line of code takes previous list and adds new task in it and you have new updated list. and next emits new state of the list
Hi, I'm still learning while sharing my knowledge about BLoC. There are lots of things to learn. I just began learning from bloclibrary.dev, RUclips, stackoverflow and so on. I recommend you doing also like that. Because while you're learning from official website and if you stack somewhere, just search google or RUclips. Watch different tutorials and learn different approaches:)
No sorry. Every line of code is visible on this tutorial. There 2 ways to get the code: 1) You have to watch the full course, everything is provided. OR 2) someone needs is urgent. At that time, that someone must buy the whole completed code.
If you are absolutely beginner and this is your first video about BLoC, sure you are right. Watch this first, which is more detailed tutorial about BloC: ruclips.net/video/79C6CdZQa8c/видео.html
All ExpansionPanelRadio identifier values must be unique. 'package:flutter/src/material/expansion_panel.dart': Failed assertion: line 263 pos 14: '_allIdentifiersUnique()' I have this error when I try to open the CompletedTasks Tab with tasks in it, any idea guys ?
@@AJFlutterTutorials I did follow every step, but it seems like there is an ID conflict. With a classic ExpansionPanel, it works fine. It also works fine with ExpansionPanelRadio with only one task, but as soon as have 2+ completed tasks, the app crashes and I get this error
Nice Wonderful Explanation.
Clean Code With Beautiful Voice..
Thanks for This Amazing Video..
Love You a Lot. ❤❤❤❤
I actually converted everything from the previous video and gave it django rest api backend, hit me up if you wanna see it.
The best bloc clear tutorials I have ever seen, need more bloc tutorials.
Hi, thank you for the feedback. Good luck on your study😊
hi, excuse me have you the source code, i can pay but I need it
Just Finished this tutorial. it's the amazingly rich content. bloc, hydrated bloc , BottomNav, SingleChild Scroll , Modals , List manipulation , route navigation , useful flutter packages and a lot more thank you again.
Hi, I'm glad it helped you. Of course, there will be more great Flutter projects in the future, so stay tuned. If you want to support our hard work, you can buy a coffee through the link in the description or via 'Thanks' button on RUclips itself. Anyway, thank you for the feedback😊
Even before started watching i thank you so much for taking efforts in building app with Bloc state management. Theres very little content on state management and hope u would come up with more on Bloc state management. Thank you again
Hi.
I hope this tutorial satisfies you and you will learn more than you expected😊
your are best programer in the world
really
think you everything
Thank you 😊
The most amazing completed Bloc tutorial
Thank you for the Feedback, keep supporting us😊
I really like your videos with Flutter Bloc please keep uploading more videos using Flutter Bloc Pattern, because on youtube there are very few who use it, and you are the best thank you very much for sharing..
Please can you upload a video Google Maps, Gps, Location, using Flutter Bloc Pattern
We are glad that it helped you, InshaAlloh we keep uploading more BLoC tutorial with real App projects 😊
We've recently monetized our RUclips channel, we'd be happy if you support us by "Thanks" button just after the "Download" button😊 or with buying a coffee which is in the description)
Excellent work :)
Wow explained well easy to understand
Glad it helped you, thank you for the feedback :)
Hi, Amazing 5⭐. Thank you for this tutorial
Hi, thanks for rating. Glad it helped you 😊
i think its a detailed video to learn bloc. thank you very much.... please make a video google maps using flutter bloc.
You are welcome)
I may try it in the future, nowadays I'm working on another project 😊
@@AJFlutterTutorials great
nice video, but for the task_bloc, i prefer to use only one variabel to store all data from pending, completed, favorite, and remove. and when it showed up in the specific page, just use blocSelector to filter the data using the 'is....' parameter
Nice suggestion. Need to try 😊👍
amazing tutorial learned a lot from this tutorial can you please create a complete app with api integration in bloc
Hi, thank You for the feedback.
I'm planning to do it. Currently I'm working on another real project which includes your question. If I do it, after that, make a tutorial about that.
Thank u mam for ur efforts and help !!!
Glad it helped you and thank you for the feedback😊
Really clean way.
I Love this tutorial, it's amazing!!!!!
Thank you for the feedback.
Glad it helped you 😊
This video is amazing. Thank you for this. 500000⭐
You are welcome and thank you also for the feedback 😊
✴✴✴✴✴ thank you for sharing
Thanks for rating us😊
Good tutorial but I have been getting zone mismatch errors
Thank you for your tutorial! It helps me a lot in getting better understanding about flutter.
2:01:33 - It got me stressed out for a while. Luckily, I found a solution from stack overflow.
When we tap on the menu item, it's calling a Navigator.pop() method to close the Popup Menu Button which closes our bottom sheet dialog instead. The solution is just to use Future.delayed() on onTap.
onTap: () {
Future.delayed(
const Duration(seconds: 0),
editTaskCallback,
);
},
Hope this can be of help to someone else in the future.
You are welcome and thank you too for helping others😊
It helped, thanks a lot mate!
Thank you so much,
You are welcome :)
I rate this 5🌟 . Thank you AJ
You are welcome)
awsome...
Saved
thank You !
Enjoy learning bro))
Helo AJ your tutoriala are amazing. Keep going. Can you make a video about background run task on ios and Android devices?
Hi, thank you for the feedback.
I've not thought about that. I may make it later, but not soon:)
@@AJFlutterTutorials thanks for your reply😍
Good app for begin start code bloc.
Keep going to this great content 😊
I have a question
Are u using something to save data if app is close like sqflite ?
Yes, Hydrated BLoC, It saves data on local Memory
Nice
thank u sir, i have on qs i used multi provider at the top of material app and i have cubit that i want to use it from 2 different screens but each time i use BlocProvider.of(context) it create NEW INSTANCE is that how bloc work?? cuz in my mind i though it would be singletone
Sorry, I didn't get your qn exactly.
Solution of what understood:
Try context.read as I did in the course. To do this, you must import the Flutter BLoC to that class(screen)
@@AJFlutterTutorials
thank u sir for ur reply my problem was i use BlocProvider.of(context) and its create new instance not singletone...but when i checked my code i was using blockProvider with create (which create new instance) and it was stupid mistake by me cuz iam new to bloc thanks for trying 2 help me u earned new subscriber 💙
Very helpful, can you plese tell me how do you generate the audio from text like in this tutorial. Thanks
Hi, Thank you for the nice feedback.
I will try inshahaall
Hi I loved the tutorial. Just one suggestion can you please add the github link instead of google drive as it helps us to straight away see the files on github if we want to.
Other than that great tutorial
Hi, next time I'll try to do that
Hello. I am a beginner in flutter and I was wondering how I might be able to not remove the task from the "Pending Tasks Screen" but rather from the List of pending tasks along with adding the line through decoration when checkbox is clicked. I would appreciate your help a lot! It has been very wonderful and i learned more than literally 2 udemy courses on the matter. Thank you.
Hi, for that you just need to update the update function. there you need to do that update function deletes old task and doesn't add it to completed tasks, instead again adds it into pending task using copyWith method.
while using copyWith, make the task title line through.
I hope you got the idea.
try it.
and tell me whether you did it or not
@@AJFlutterTutorials I will do that. Thank you.
@@AJFlutterTutorials So I tried fixing that. and I definitely did something wrong that what would happen when I click on the checkbox is that it moves it to the completed tasks screen and doesn't even remove it from the pending tasks screen or even checks it.
Even tried fixing that again and now it doesn't move it to the completed tasks screen or remove it from pending tasks. So I used the local history to restore everything to how it was before I updated anything for now.
@@AJFlutterTutorials So I tried it and still no clue. Sorry about this.
For making text in left we can also use align widget alignment topLeft
at 39:00 I did the same as the video but after hot restart, my state couldn't save any task?
Hi Sou Emon, it must save its state.
Double check:
1) Task model file.
2) tasks_state and tasks_bloc file.
same here. did you find a solution?
In my case it was something wrong with tasks_state.dart file with factory TasksState.fromMap, it was different from my created and shown in video
you can try: factory TasksState.fromMap(Map map) {
return TasksState(
allTasks: List.from(map['allTasks'].map((x) => Task.fromMap(x))));
}
مكنة والله 🥰
You are very welcome!
Please, Check out my other amazing videos😊
Слушай, а можно используя этот же концепт, вместо hydroBloc прикрутить Sqflite?
It'll be helpfull if you go more deep with more states and event with more than two blocs. We face issue when number of bloc increases and can't figure out the data passing, when enent of bloc 2 requires the data of state of bloc 1
Thank you for the feedback. You find the nice issue that is not on the project. I will take care of it
@@AJFlutterTutorials I know it's not project but that's what we are building after watching your tutorial. So we need to see some glimpse of the data passing from one bloc to another and handling multiple blocs in your tutorials. I know it's little complex but believe me Nobody on RUclips did a video on that. If you can come up with that video.. Millions of people will like it.
good concept
do you have any resources about whats are tomap and frommap from 08:41
5 ⭐
Thank you for the rating our work. Enjoy learning)
Hi thank you for this lesson. I couldn't find AppThemes in description. Where is it ?
Hi, I provided it when I upload the course parts separately and sorry I forgot it in this whole course. And now I've also just added it here in the course description. Thank you for reminding :)
@@AJFlutterTutorials Your welcome. This is realy nice video about Bloc.
@@leventsurer3443 I'm glad if it helped you 😊
I watched the videos from africa country now I need the source code but i ain't got no money
Hi, Amazing tutorials.. BTW why didn't you use firebase for ease backend configuration.
Hi thanks for the feedback, in the future I may do like that :)
Hi I have a question. I'm on the part of using the Hydrated Bloc. I followed your code structure but when I press the Hot Restart and close the application, all of the tasks have gone. Is there something wrong on my end ?
Hi, please check task model file and fromMap and toMap function in the tasksState and tasks bloc file. I mean the HydratedBloc part
@@AJFlutterTutorials Actually I have fromMap and toMap function in the tasksState and also in the hydrated bloc file but when I pressed hot restart, it goes back to the initial state which is an empty list. I can't figured it out since I followed your code structure
@@AJFlutterTutorials same problem here..i have same hydrated bloc version as urs...but same problem like his...can u plz figure out issue?
@@angelomien987 have you figured out my man?
no worries figure out actually vscode is giving me wrong serialization...
for others use :
factory TasksState.fromMap(Map map) {
return TasksState(
allTasks: List.from((map['allTasks']?.map((x)=> Task.fromMap(x))))
);
please can you give link to your github repo for this project.
Hi, contact me via email which is in the channel description.
Maam can u please make me understand the concept of toMap and fromMap better ?????
Hi Angel Suresh Karki, Have you ever used shared_preferences?
// Obtain shared preferences.
final prefs = await SharedPreferences.getInstance();
// Save an integer value to 'counter' key.
await prefs.setInt('counter', 10);
// Save an boolean value to 'repeat' key.
await prefs.setBool('repeat', true);
// Save an double value to 'decimal' key.
await prefs.setDouble('decimal', 1.5);
// Save an String value to 'action' key.
await prefs.setString('action', 'Start');
in that case you manually use map to set integet or bool or somerthing else and you get the value by the key.
On the other hand, with Hydrated Bloc, you only have to use toMap to set the values and fromMap to get the value from local storage
Hi mam can you please explain 15.42
This line
allTasks: List.from (state.allTasks)..add(event.task),
Hi, in the tasks_state.dart file you have the list called ''allTasks''.
this line of code takes previous list and adds new task in it and you have new updated list. and next emits new state of the list
from where did you learn bloc?
Hi, I'm still learning while sharing my knowledge about BLoC.
There are lots of things to learn.
I just began learning from bloclibrary.dev, RUclips, stackoverflow and so on.
I recommend you doing also like that. Because while you're learning from official website and if you stack somewhere, just search google or RUclips. Watch different tutorials and learn different approaches:)
Scam, some code is out of view , so you need pay to see the source code
No sorry. Every line of code is visible on this tutorial. There 2 ways to get the code:
1) You have to watch the full course, everything is provided.
OR
2) someone needs is urgent. At that time, that someone must buy the whole completed code.
@@AJFlutterTutorials Is not true, the screen file doesnt show up till the end
What's the password to the winrar project
Hi, you can find it in the description)
why so much code... this should be done in 60 percent less code
extremely difficult
Not good for beginners
If you are absolutely beginner and this is your first video about BLoC, sure you are right.
Watch this first, which is more detailed tutorial about BloC: ruclips.net/video/79C6CdZQa8c/видео.html
All ExpansionPanelRadio identifier values must be unique.
'package:flutter/src/material/expansion_panel.dart':
Failed assertion: line 263 pos 14: '_allIdentifiersUnique()'
I have this error when I try to open the CompletedTasks Tab with tasks in it, any idea guys ?
Hi, while implementing the Expansion Panel , I used task id as unique value.
Did you follow the steps?
And please double check it
@@AJFlutterTutorials I did follow every step, but it seems like there is an ID conflict. With a classic ExpansionPanel, it works fine.
It also works fine with ExpansionPanelRadio with only one task, but as soon as have 2+ completed tasks, the app crashes and I get this error