slider_view 1.1.0 copy "slider_view: ^1.1.0" to clipboard
slider_view: ^1.1.0 copied to clipboard

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

Slider View #

All Contributors

pub package GitHub GitHub stars 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 🍭 #

flutter pub add slider_view

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,
        ),
      ),
    ),
  );
}

See SliderViewConfig for more details.

Contributors ✨ #

Many thanks to these wonderful people (emoji key):

Alex Li
Alex Li

💻 🎨 📖 💡 🤔 🚧 💬 👀
moxiaov587
moxiaov587

💻 💡

This project follows the all-contributors specification. Contributions of any kind welcomed!!

3
likes
140
pub points
42%
popularity

Publisher

verified publisherfluttercandies.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

equatable, flutter

More

Packages that depend on slider_view