slider_view 1.1.0
slider_view: ^1.1.0 copied to clipboard
A slider view widget that supports custom type models and various configs.
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!!