Skip to content

GUIKAR741/NewGradientAppBar

 
 

Repository files navigation

New Gradient App Bar

Love the material AppBar? Do you want to add more color to the appbar? Here's a newGradientAppBar.

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. Depend on it by adding this to your pubspec.yaml file: new_gradient_app_bar: ^0.1.4

  2. Import it: import 'package:new_gradient_app_bar/new_gradient_app_bar.dart'

  3. Replace your current AppBar (In the scaffold) to NewGradientAppBar.

appBar: NewGradientAppBar(
    title: Text('Flutter'),
    gradient: LinearGradient(colors: [Colors.blue, Colors.purple, Colors.red])
  ),

Packages

No packages published

Languages

  • Dart 98.8%
  • Other 1.2%