List Method .forEach() in Dart & Flutter
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 .forEach() method in different list types and see how we can use this method to change the background color of a ListTile in a flutter application. 00:00 - Introduction 00:23 - Example one: forEach method explanation on a list of String 01:55 - Example two: forEach method on list of integer 02:64 - Example three: forEach method on list of object 03:53 - Overview over the boilerplate code 05:20 - forEach method in onPressed method 06:25 - Outro βοΈβοΈHelpful Ressources βοΈβοΈ DartPad: https://dartpad.dev/1f6d7019fb38072d316c27e02fb70005 GitHub Repository: https://github.com/mt-tadayon/foreach_tutorial Tools we use to grow our YouTube channel TubeBuddy Review - Manage Your YouTube Channel Easily https://www.tubebuddy.com/flutterexplained Our current YouTube gear π Samson Mic: https://amzn.to/324Gpof π Satechi USB-C Adapter: https://a
βhttps://tube.tchncs.de/w/dEizJY9rid8LCHWRXsME7Y