interleave_iterator 0.1.2 copy "interleave_iterator: ^0.1.2" to clipboard
interleave_iterator: ^0.1.2 copied to clipboard

Adds interleave and interleaveFactory extension methods to Iterable, inserting a separator between every pair of adjacent elements.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add interleave_iterator

With Flutter:

 $ flutter pub add interleave_iterator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  interleave_iterator: ^0.1.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:interleave_iterator/interleave_iterator.dart';
1
likes
160
points
214
downloads

Documentation

API reference

Publisher

verified publisherinstahelp.me

Weekly Downloads

Adds interleave and interleaveFactory extension methods to Iterable, inserting a separator between every pair of adjacent elements.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on interleave_iterator