Flutter

Flutter learning curve

Functional programming with Dart

Reduce / fold

In Dart, reduce is known instead as fold:

iterable.fold(0, (prev, element) => prev + element);

Map

@todo add more info

After mapping, the spread operator can be very useful - check it out!


Where

On lists

Contains

On lists...