chandrabezzo / FlutterGradientAppBar

Gradient AppBar for Flutter (SDK v3.10 & Dart 3 compatible)

Home Page:https://pub.dev/packages/flutter_gradient_app_bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

image image

Getting Started

  1. Install the dependency:
  $ flutter pub add flutter_gradient_app_bar
  1. Import the package:
import 'package:flutter_gradient_app_bar/flutter_gradient_app_bar.dart'
  1. Replace your Scaffold AppBar with GradientAppBar.
appBar: GradientAppBar(
    title: Text('Flutter'),
    gradient: LinearGradient(
      colors: [Colors.blue, Colors.purple, Colors.red],
    ),
  ),

About

Gradient AppBar for Flutter (SDK v3.10 & Dart 3 compatible)

https://pub.dev/packages/flutter_gradient_app_bar

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 98.9%Language:Objective-C 0.6%Language:Shell 0.4%Language:Java 0.1%