Coder Social home page Coder Social logo

fluttercandies / flutter_slider_view Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 4.0 217 KB

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

License: Apache License 2.0

Kotlin 0.20% Swift 1.58% Objective-C 0.05% Dart 40.31% CMake 24.82% C++ 28.59% C 1.94% HTML 2.51%
banner flutter flutter-desktop flutter-web infinite-scroll slider

flutter_slider_view's Introduction

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!!

flutter_slider_view's People

Contributors

alexv525 avatar allcontributors[bot] avatar moxiaov587 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.