vs_scrollbar
1.0.0, released 3 years ago by vickysalunkhe.in
Customizable scrollbar for horizontal and vertical lists supporting drag navigation.
What it does
A customizable ScrollBar widget that wraps scrollable widgets like ListView, GridView, and SingleChildScrollView. It supports drag navigation for both horizontal and vertical lists, along with customizable thickness, radius, colors, and fade animations.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a custom scrollbar for horizontal or vertical lists in Flutter.
- Users need to drag the scrollbar directly for quick navigation.
- You want to customize scrollbar thickness, radius, hover effects, and fade durations.
Skip it when
- You require advanced platform-specific scrollbar features not covered by the properties.
- You are using a state-management system or alternative that clashes with basic wrapper widgets.
Strengths
- Supports both horizontal and vertical lists.
- Allows drag behavior when a ScrollController is provided.
- Customizable styles including thickness, hover thickness, radius, and color.
Weaknesses
- Limited to styling properties and fade/hover controllers explicitly exposed by the package.
- Not documented for platforms other than general Flutter targets.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
VsScrollbar(
controller: _scrollController,
style: VsScrollbarStyle(
thickness: 10.0,
radius: Radius.circular(10),
),
child: ListView.builder(
controller: _scrollController,
itemCount: 6,
itemBuilder: (context, index) => Container(height: 100),
),
)Alternatives
Packages that do the same job and could replace vs_scrollbar.
- country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - flutter_reorderable_list
Reorderable list for Flutter supporting slivers and large items
50Compare - draggable_scrollbar
A draggable scrollbar for quickly navigating vertical lists with optional labels.
50Compare - toggle_list
An easy-to-use and highly customizable expandable list widget for your Flutter application.
48Compare
Works with
Packages commonly used together with vs_scrollbar: ones it builds on, ones built on it, and its own family.