vs_scrollbar 0.0.1 copy "vs_scrollbar: ^0.0.1" to clipboard
vs_scrollbar: ^0.0.1 copied to clipboard

outdated

Custom ScrollBar for both Horizontal and Vertical list

vs_scrollbar #

A Custom ScrollBar for both Horizontal and Vertical list, you can adjust scrollbar's thickness, radius and set custom colors, with prebuilt methods of default ScrollBar for Flutter.

Wrap This ScrollBar to any ScrollableList.
SingleChildScrollView
ListView
Listview.builder

Example #

Try out example code all parameters are optional, currently serving basic use case scenarios.

Horizontal List #

Vertical List #

Code #

VsScrollbar(
   controller: ScrollController(),
   color: Colors.purple[900], // sets color of vsScrollBar
   isAlwaysShown: true, // default false
   radius: 50, // sets radius of vsScrollBar
   thickness: 6, // sets thickness of vsScrollBar
   child: ListView.builder(
             shrinkWrap: true,
             physics: BouncingScrollPhysics(),
             itemCount: 6,
             itemBuilder: (BuildContext context, int index) {
                   return Container(
                          height: 100,
                          width: MediaQuery.of(context).size.width,
                          color: Colors.purple[900],
                          margin: EdgeInsets.all(15));
             },
   ),
)
66
likes
0
pub points
93%
popularity

Publisher

verified publishervickysalunkhe.in

Custom ScrollBar for both Horizontal and Vertical list

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on vs_scrollbar