menu
sidekick_core package
documentation
sidekick_core.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
.
sidekick_core package
documentation
sidekick_core
IterableWindowed extension
sidekick_core library