roller_list 0.5.1 roller_list: ^0.5.1 copied to clipboard
A list widget that works similar to rollers in slot machine. The main rules of the list are: a user could scroll it in both directions endlessly, list values are limited and repeated in the same order [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add roller_list
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
roller_list: ^0.5.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:roller_list/roller_list.dart';