(https://i.stack.imgur.com/NabBD.jpg)](https://i.stack.imgur.com/NabBD.jpg)
I wanna create a custom slider like this?
(https://i.stack.imgur.com/NabBD.jpg)](https://i.stack.imgur.com/NabBD.jpg)
I wanna create a custom slider like this?
You can try creating a PageView
widget with a controller with the viewportFraction
property set to something like 0.2
. Then, have the PageView
's children
property filled with Container
widgets, each with a height
of maybe 80
and width
of maybe 2
. Then, wrap the Container
s with Padding
with the padding
property set to const EdgeInsets.symetric(horizontal: 10)
.
This should create that rough look. Let me know if this helps.