List Method .reduce() in Dart and Flutter

preview_player
Показать описание
In this series, we will learn more about different list methods in #Dart and see how we can use them in #Flutter. In this episode, we have a closer look at the #reduce method in different list types in Dart. Additionally, we will see how we can use this method to calculate the total expenses in a flutter application and show it in a DataTable. Also, we will calculate the rest budget with the fold method in our flutter application.

00:00 - Introduction
00:34 - Example one: reduce method explanation on a list of integer
01:40 - Example two: reduce method on the list of String
02:15 - Example three: reduce method on a list of object
03:20 - Overview over the boilerplate code
04:00 - Tasks explanation
04:22 - Reduce method to calculate the total expenses in the Flutter app
06:00 - Fold method to calculate the rest budget in the Flutter app
07:00 - Outro

⭐️⭐️Helpful Ressources ⭐️⭐️

Tools we use to grow our YouTube channel
TubeBuddy Review - Manage Your YouTube Channel Easily

Our current YouTube gear

⭐️⭐️Follow us ⭐️⭐️

⭐️⭐️ Support ⭐️⭐️
If you read this so far, thank you once more. If you like to support us, here are some links that could help us a lot.

Рекомендации по теме
Комментарии
Автор

You have the best tutorials for flutter and dart! Awesome! Thanks a lot

azackmatoff
Автор

Thank you very much for your work. Your expression is excellent. I wish you and your loved ones health and happiness.

vatan
Автор

This video is extremely helpful. Thank you

usama_khalid
Автор

Please create a series on Map like this list tutorial. Thanks for great explanation.

rv
Автор

These vids are gold 🥇

Question:
Is there a method to group list\map by value?
i.e grouping the list below by brand...
[Car(brand: 'BMW', color: Red), Car(brand: 'BMW', color: Black), Car(brand: 'Mercedes', color: White)]

LiranMansur