Tasks App Flutter [To Do App] Part 2 - Drawer | Recycle Bin

  Рет қаралды 5,698

AJ Flutter Tutorials

AJ Flutter Tutorials

Күн бұрын

Пікірлер: 32
@yakut54
@yakut54 Жыл бұрын
Лайк! Подписка! Колокольчик! Очень круто, пиши ещё!!! Привет из Новосибирска!🤝
@ramodisemosuoe4583
@ramodisemosuoe4583 2 жыл бұрын
5 out of 5 for the video. & thanks for going with bloc regarding state management
@rokonrahman5303
@rokonrahman5303 2 жыл бұрын
Good explanation...waiting eagerly for the next tutorial
@maxsumaasqarxodjayeva3984
@maxsumaasqarxodjayeva3984 2 жыл бұрын
amazing tutorial, i rate this 100 of 100, waiting next part
@شوفسوريا
@شوفسوريا 2 жыл бұрын
amazing tutorial
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
Thank you for the feedback)
@ФерузаЮнусова-ю2г
@ФерузаЮнусова-ю2г 2 жыл бұрын
Thank you for such a free tutorial on YT, I support your efforts and buy some coffee for you)
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
Thank you)
@adaada8008
@adaada8008 2 жыл бұрын
Hi, so far that tut seems to me very cool, congratz. And yet 2 questions: 1. Why u wrapped in my_drawer ListTiles in GestureDetector since ListTile has own onTap property?:) 2. When app got hot restart recycle bin doesnt persist (the task page does) its state (is that intentional or I have done sth wrong?) update: Alright, as for 2 question I found fix myself -> tasks_bloc, in overriden fromJson method I had to make sth like this: final taskList = (json['allTasks'] as List).map((dynamic task) => Task.fromMap(task as Map)).toList(); final removedTaskList = (json['removedTasks'] as List).map((dynamic task) => Task.fromMap(task as Map)).toList(); return TaskState(allTasks: taskList, removedTasks: removedTaskList);
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
Hi, that's good you found the answer for the 2nd question. So, answer for the 1st question is: Someone prefer building MyDrawer widget with Row or other widgets instead of TistTile, in that case GestureDetector will help, but in our case you are right, we also can use onTap property of ListTile without wrapping it with GestureDetector, you good :)
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
in the 2nd question: tasks_bloc file remains the same like this: @override TasksState? fromJson(Map json) { return TasksState.fromMap(json); } @override Map? toJson(TasksState state) { return state.toMap(); } did you check tasks_state file? there are fromMap and toMap functions. chech it and recycle_bin folder also must save it's state
@francescofreddi4374
@francescofreddi4374 2 жыл бұрын
in last step... how you block change state in the Checkbox on recycler bin???
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
sorry, I couldn't get your question... could you tell me at what minut and seconds you don't understand? and could you describe your question with more details?
@francescofreddi4374
@francescofreddi4374 2 жыл бұрын
@@AJFlutterTutorials nothing... i totally wrong!! great video :)
@razvanbenchia6065
@razvanbenchia6065 2 жыл бұрын
great tutorial! next part?
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
Hi, now we're working on it and try to upload it tomorrow. Please, support us by Liking the tutorials and share them with your friends. Thank you for your patience))
@ravikeshyadav4342
@ravikeshyadav4342 2 жыл бұрын
Thanks for the video, can I get the code?
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
Hi, sure, Rate the tutorial from 1 to 5 in the comment, like the video and after that contact to my gmail
@ramodisemosuoe4583
@ramodisemosuoe4583 2 жыл бұрын
@@AJFlutterTutorials hi, what is your email address?
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
it is there, in the channel about section
@ravikeshyadav4342
@ravikeshyadav4342 2 жыл бұрын
@@AJFlutterTutorials Hi, there is no email I'd in about section.
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
@Ravikesh Yadav I checked it using different KZbin account and different device. It didn't appear via mobile phone. Visit there by computer and press 'view email address'
@minhnguyet4533
@minhnguyet4533 2 жыл бұрын
Hi! I can't delete the task, I have compared the file task_bloc and task_event with you but it isn't different. How to fix it?
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
hi, without seeing your code, it's difficult to say something. Check onPressed functions and other parts, but I think The fastest way is re-watch in 2x speed, pause in every single line of code and compare
@minhnguyet4533
@minhnguyet4533 2 жыл бұрын
@@AJFlutterTutorials Thanks! I will try it
@rokonrahman5303
@rokonrahman5303 2 жыл бұрын
While deleting task from recycle bin instead of removing that it is adding to the list. How can I solve that?
@AJFlutterTutorials
@AJFlutterTutorials 2 жыл бұрын
in tasks_bloc file, check OnDeleteEvent with mine, there something might be defferent
@rokonrahman5303
@rokonrahman5303 2 жыл бұрын
@@AJFlutterTutorials it's working fine OnTask screen but not working in the RecycleBin screen...
@hyunkim1158
@hyunkim1158 9 ай бұрын
4/11 ok
@yakut54
@yakut54 Жыл бұрын
Лайк! Подписка! Колокольчик! Очень круто, пиши ещё!!! Привет из Новосибирска!🤝
Tasks App [To Do App] Part 3 - Dark & Light Theme - Changing Theme
12:03
AJ Flutter Tutorials
Рет қаралды 6 М.
Beginners: WATCH THIS before learning FLUTTER BLOC
20:59
AJ Flutter Tutorials
Рет қаралды 16 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Asteroid3d Game 12
6:34
Mr. Corbin
Рет қаралды 4
Every Minute One Person Is Eliminated
34:46
MrBeast
Рет қаралды 46 МЛН
Tasks App [To Do App] Using Flutter BLoC Pattern - Part 1
42:01
AJ Flutter Tutorials
Рет қаралды 37 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
Flutter Basics by a REAL Project
25:42
Flutter Guys
Рет қаралды 605 М.
NVIDIA CEO Jensen Huang's Vision for Your Future
1:03:03
Cleo Abram
Рет қаралды 27 М.
1  BLOC's vs Stateful Widgets
6:43
Learn Flutter From Scratch
Рет қаралды 15 М.