menu
dartx package
documentation
dartx.dart
IterableWindowed extension
IterableWindowed extension
dark_mode
light_mode
IterableWindowed<
E
>
extension
on
Iterable
<
E
>
Methods
windowed
(
int
size
, {
int
step
=
1
,
bool
partialWindows
=
false
})
→
Iterable
<
List
<
E
>
>
Returns a new lazy
Iterable
of windows of the given
size
sliding along this collection with the given
step
.
dartx package
documentation
dartx
IterableWindowed extension
dartx library