timed_widget_slider 1.0.3 copy "timed_widget_slider: ^1.0.3" to clipboard
timed_widget_slider: ^1.0.3 copied to clipboard

Creates a slider for a list of widgets that can be temporized and customized in its animation curve.

A package that provides a temporized slider for your widgets, you can customized velocity of the sliding and animation curve: choose an animation referring to the doc here -> https://api.flutter.dev/flutter/animation/Curves-class.html

How it looks like #

EaseInCirc Linear Decelerate
easeInCirc linear decelerate

Usage #

/// The params are configurable to adjust
/// the speed of the animation and get the needed effect.
/// The higher is the duration, the slower will the widgets slide
TimedWidgetSlider(
    scrollCurve: Curves.linear,
    onwardScrollDuration: const Duration(milliseconds: 2000),
    backwardScrollDuration: const Duration(milliseconds: 2000),
    scrollDurationOffset: const Duration(milliseconds: 500),
    widgets: /* Your widget list */ ,
),
0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Creates a slider for a list of widgets that can be temporized and customized in its animation curve.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on timed_widget_slider