thumper 2.2.0 copy "thumper: ^2.2.0" to clipboard
thumper: ^2.2.0 copied to clipboard

Widget for controlling an Iterable. Shows reset, forward step, play, pause and frequency controls.

Thumper #

A Thumper is a flutter widget that controls an Iterable.

widget screen shot

Buttons allow reset, forward step, and play/pause. A slider controls the thumper's frequency (the iteration speed).

There's no backward step, as the basic Iterator interface doesn't require a reversible state generator.

Example #

The example iterates through a list of fruits.

initial playing
example widget use 1 example widget use 1

To try it in chrome, install beta channel flutter then:

# Confirm you have some devices.
flutter devices

# Get the code
git clone git@github.com:monopole/thumper.git
cd thumper

# then either
make demo-chrome
# or
make demo-android

For a more complex Thumper demo see the GolGrid widget.

1
likes
120
pub points
0%
popularity

Publisher

verified publisherorangebike.dev

Widget for controlling an Iterable. Shows reset, forward step, play, pause and frequency controls.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

bloc, equatable, flutter, flutter_bloc, logging, meta

More

Packages that depend on thumper