animated_custom_appbar 1.0.4 copy "animated_custom_appbar: ^1.0.4" to clipboard
animated_custom_appbar: ^1.0.4 copied to clipboard

A customizable and animated AppBar for Flutter apps.

example/main.dart

import 'package:flutter/material.dart';
import 'package:animated_custom_appbar/animated_custom_appbar.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: ExamplePage(),
    );
  }
}

class ExamplePage extends StatelessWidget {
  const ExamplePage({super.key});

  @override
  Widget build(BuildContext context) {
    return AnimatedCustomAppBar(
      maxHeight: 180,
      minHeight: 76,
      fadingBackgroundShadow: [],
      centerWidget: const Text("Hello Appbar!", style: TextStyle(fontSize: 18)),
      children: [
        SliverList.builder(
          itemCount: 20,
          itemBuilder: (_, i) => ListTile(title: Text("Item $i")),
        ),
      ],
    );
  }
}
6
likes
140
points
147
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable and animated AppBar for Flutter apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_lints

More

Packages that depend on animated_custom_appbar