0 purchases
slider view
Slider View #
A slider view widget that supports custom type models and various configs.
Features β¨ #
β‘οΈ Support infinity scrolling
π Control layout size from either Aspect Ratio or Width * Height
π² Displays indicators
π» Desktop support
Preparing for use π #
flutter pub add slider_view
copied to clipboard
Usage π #
Widget _buildSliderView(BuildContext context) {
return SliderView(
config: SliderViewConfig<String>(
aspectRatio: 16 / 9,
models: models,
itemBuilder: (String model) => Center(
child: Text(
model,
style: Theme.of(context).textTheme.headline3,
),
),
),
);
}
copied to clipboard
See SliderViewConfig for more details.
Contributors β¨ #
Many thanks to these wonderful people (emoji key):
Alex Liπ» π¨ π π‘ π€ π§ π¬ π
moxiaov587π» π‘
This project follows the
all-contributors specification.
Contributions of any kind welcomed!!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.