An open API service indexing awesome lists of open source software.

https://github.com/fluttercandies/flutter_slider_view

A slider view widget that supports custom type models and various configs.
https://github.com/fluttercandies/flutter_slider_view

banner flutter flutter-desktop flutter-web infinite-scroll slider

Last synced: about 1 year ago
JSON representation

A slider view widget that supports custom type models and various configs.

Awesome Lists containing this project

README

          

# Slider View

[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)

[![pub package](https://img.shields.io/pub/v/slider_view?label=stable)][pub package]
[![GitHub](https://img.shields.io/github/license/fluttercandies/flutter_slider_view)][repo]
[![GitHub stars](https://img.shields.io/github/stars/fluttercandies/flutter_slider_view?style=social&label=Stars)][repo]
FlutterCandies

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 🍭

```shell
flutter pub add slider_view
```

## Usage 📖

```dart
Widget _buildSliderView(BuildContext context) {
return SliderView(
config: SliderViewConfig(
aspectRatio: 16 / 9,
models: models,
itemBuilder: (String model) => Center(
child: Text(
model,
style: Theme.of(context).textTheme.headline3,
),
),
),
);
}
```

See `SliderViewConfig` for more details.

## Contributors ✨

Many thanks to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Alex Li
Alex Li

💻 🎨 📖 💡 🤔 🚧 💬 👀
moxiaov587
moxiaov587

💻 💡

This project follows the
[all-contributors](https://github.com/all-contributors/all-contributors) specification.
Contributions of any kind welcomed!!

[pub package]: https://pub.dev/packages/slider_view
[repo]: https://github.com/fluttercandies/flutter_slider_view