thumper 1.0.0
thumper: ^1.0.0 copied to clipboard
Widget for controlling an Iterable. Shows reset, forward step, play, pause and speed controls.
Thumper #
A Thumper is a flutter widget that controls an Iterable.
[screen shot 0]
Buttons allow reset, forward step, and play/pause. A slider controls 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 |
|---|---|
| [screen shot 1] | [screen shot 2] |
To try it in chrome, install beta channel flutter then:
git clone git@github.com:monopole/thumper.git
cd thumper
flutter test
cd example
flutter -d chrome run
For a more complex Thumper demo see the GolGrid widget.