Skip to content
pubscout

animated_appbar

2.1.5, released 5 years ago by an unverified publisher

AppBar that animates its height when navigating between pages.

WASM-ready
$ flutter pub add animated_appbar
Source repository

What it does

Provides a BaseLayout and AnimatedAppBar widget that smoothly change the AppBar height during page transitions. Includes helper methods for routing with custom AppBar widgets.

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

Use it when

  • You need animated AppBar height changes during navigation
  • You want a simple way to animate AppBar without writing custom animation code

Skip it when

  • You require complex navigation logic beyond simple page pushes
  • You need a full‑featured navigation solution

Strengths

  • Easy to integrate with minimal code
  • Handles key management for smooth animations
  • Works on all Flutter platforms

Weaknesses

  • Limited to height animation only
  • Relies on custom BaseLayout, not compatible with existing Scaffold structures
  • No built‑in navigation stack management

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
import 'package:flutter/material.dart';
import 'package:animated_appbar/animated_appbar.dart';

void main() => runApp(MaterialApp(home: BaseLayout(
  appBar: AnimatedAppBar(initHeight: 120, backgroundColor: Colors.blue),
  scaffold: Scaffold(body: Center(child: Text('Home'))),
)));

Alternatives

Packages that do the same job and could replace animated_appbar.

Works with

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