0 purchases
timed widget slider
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
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 */ ,
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.