A Flutter package create a widget that will display only one widget based on the current focused index and each change will be accompanied by an animation.
Completed example in /example
folder.
const SlidingBox(
height: 100,
width: 100,
children: [
ColoredBox(color Colors.amber),
ColoredBox(color Colors.deepPurple),
ColoredBox(color Colors.green),
],
)
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com