flutter_gradient_app_bar 0.3.1 flutter_gradient_app_bar: ^0.3.1 copied to clipboard
The official AppBar, with a more colorful twist. Add gradients to spice up your application and make it beautiful.
Flutter Gradient App Bar #
This is a fork of new_gradient_app_bar, but with Flutter 3.10/Dart 3 support. If you're still using Flutter 2.x, use the original package.
Love the material AppBar? Do you want to add more color to the appbar? Here's a GradientAppBar.
It works just like the normal AppBar. Also with actions, back buttons, titles. So it's just your normal AppBar, but with a twist!
Screenshots #
Getting Started #
- Install the dependency:
$ flutter pub add flutter_gradient_app_bar
- Import the package:
import 'package:flutter_gradient_app_bar/flutter_gradient_app_bar.dart'
- Replace your Scaffold AppBar with GradientAppBar.
appBar: GradientAppBar(
title: Text('Flutter'),
gradient: LinearGradient(
colors: [Colors.blue, Colors.purple, Colors.red],
),
),