adaptive_scrollbar
2.1.2, released 5 years ago by an unverified publisher
Adaptive desktop-style scrollbar placed on either side of the screen.
What it does
Provides a customizable, desktop-style scrollbar that can be positioned on any of the four sides of a scrollable widget. It supports multiple scrollbars on a single screen and automatically hides when content is not scrollable.
AI-written summary of version 2.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need desktop-style scrollbars for Flutter apps running on desktop or web
- You require placing scrollbars on custom positions like the top, bottom, or left side
Skip it when
- You only need standard mobile-style physics and indicators without desktop scrollbar behavior
Strengths
- Supports multiple independent scrollbars on a single screen
- Highly customizable colors, decorations, dimensions, and click-to-scroll speeds
- Automatic hide when content is not scrollable
Weaknesses
- Horizontal scrollbars require a 90-degree rotation logic that affects spacing configuration
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
AdaptiveScrollbar(
controller: controller,
child: Center(
child: ListView.builder(
controller: controller,
itemBuilder: (context, index) {
return Text("Line " + index.toString());
},
itemCount: 50,
)),
)Alternatives
Packages that do the same job and could replace adaptive_scrollbar.
- adaptive_navbar
A responsive Flutter navigation bar that switches between a full bar and a drawer based on screen size.
82Compare - flame_splash_screen
A Flutter widget that shows a customizable splash screen for Flame games.
71Compare - balloon_widget
A simple balloon widget with a nip for the Flutter widget tree.
48Compare - side_sheet
Implements side sheets for all platforms and responsive UI.
47Compare
Works with
Packages commonly used together with adaptive_scrollbar: ones it builds on, ones built on it, and its own family.