Skip to content
pubscout

flutter_appbar

1.10.0, released 4 weeks ago by ttangkong.dev

Flexible and high-performance AppBar behavior implementation.

WASM-ready
$ flutter pub add flutter_appbar
Source repository

What it does

Implements flexible appbar behaviors with nested scroll support, offering full control over scrolling, alignment, and animations compared to the standard Flutter AppBar.

AI-written summary of version 1.10.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need advanced scroll-driven AppBar animations and behaviors.
  • You want to avoid gesture contention in nested scrolling environments.

Skip it when

  • You only need a standard, fixed Material Design appbar.
  • Your project does not use nested scrolling or custom appbar behaviors.

Strengths

  • Supports multiple custom behaviors like MaterialAppBarBehavior and AbsoluteAppBarBehavior.
  • Provides detailed control over expansion, shrinking, and bouncing overscroll.

Weaknesses

  • Requires explicit configuration and controller synchronization for complex layouts.
  • Niche package with potentially steep learning curve for custom scroll physics.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
AppBarConnection(
  appBars: [
    AppBar(
      behavior: MaterialAppBarBehavior(),
      body: Container(
        width: double.infinity,
        height: 300,
        color: Colors.red,
        alignment: Alignment.center,
        child: Text("Header", style: TextStyle(fontSize: 32, fontWeight: FontWeight.bold)),
      ),
    ),
  ],
  child: ListView.builder(
    itemCount: 100,
    itemBuilder: (context, index) {
      return Text("Hello, World! $index");
    },
  ),
)