Skip to content
pubscout

adaptive_scrollbar

2.1.2, released 5 years ago by an unverified publisher

Adaptive desktop-style scrollbar placed on either side of the screen.

WASM-ready
$ flutter pub add adaptive_scrollbar
Source repository

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.

Works with

Packages commonly used together with adaptive_scrollbar: ones it builds on, ones built on it, and its own family.