You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
PR-94 Breaking: Iterable<T>.zip(other, transform) now supports zipping iterables of other types the T. This is a breaking change because it is now required to add types in the transform function.
final amounts = [2, 3, 4];
final animals = ['dogs', 'birds', 'cats'];
final all = amounts.zip(animals, (int amount, String animal) =>'$amount $animal');
// lambda types are now required: ⇧ ⇧// all: ['2 dogs', '3 birds', '4 cats']
final name ='James Bond'.removePrefix('James '); // Bondfinal milliseconds ='100ms'.removeSuffix('ms'); // 100final text ='<p>Some HTML</p>'.removeSurrounding(prefix:'<p>', suffix:'</p>'); // Some HTML
PR-88 New List extension void swap(int, int) which swaps the elements in the indices provided.
final list = [1, 2, 3, 4];
list.swap(0, 2); // [3, 2, 1, 4]
PR-100 Relax the upper version constraint of collection to support Flutter 1.20 (which uses collection: 1.3.0-nullsafety)
PR-101 Relax the upper version constraint of crypto