roller_list 0.5.2 roller_list: ^0.5.2 copied to clipboard
A list widget that works similar to rollers: endlessly scrolling over limited set of items.
roller_list package #
This widget is a list of values distributed in a circle. The main rules of the list are: a user could scroll it in one direction endlessly, list values are limited and repeated in the same order over and over again. Possible usage scheme: -time selection -piano notes selection -choice of any limited number of items, where it is not important what should go first and what should go last.
Example #
You can check Flutter for web build here
How to use #
In the dependencies: section of your pubspec.yaml, add the following line:
roller_list: <latest version>
Then import this class:
import 'package:roller_list/roller_list.dart';
And add your list like this:
RollerList(
items: slots,
enabled: false,
key: leftRoller,
)