EzGradientAppBar class

Wrapper for the AppBar with gradient background.

The AppBar ist wrapped inside a Container with Boxdecoration and gradient set to the given Gradient. The EzGradientAppBar has the same arguments as the AppBar.

Inheritance

Constructors

EzGradientAppBar({Key key, Gradient gradient, Widget leading, bool automaticallyImplyLeading: true, Widget title, List<Widget> actions, Widget flexibleSpace, PreferredSizeWidget bottom, double elevation ShapeBorder shape, Color backgroundColor, Brightness brightness, IconThemeData iconTheme, IconThemeData actionsIconTheme, TextTheme textTheme, bool primary: true, bool centerTitle, double titleSpacing: NavigationToolbar.kMiddleSpacing double toolbarOpacity: 1.0 double bottomOpacity: 1.0 })

Properties

actions → List<Widget>
See AppBar.actions
final
actionsIconTheme IconThemeData
See AppBar.actionsIconTheme
final
automaticallyImplyLeading → bool
See AppBar.automaticallyImplyLeading
final
backgroundColor Color
See AppBar.backgroundColor
final
bottom PreferredSizeWidget
See AppBar.bottom
final
bottomOpacity → double
See AppBar.bottomOpacity
final
brightness Brightness
See AppBar.brightness
final
centerTitle → bool
See AppBar.centerTitle
final
elevation → double
See AppBar.elevation
final
flexibleSpace Widget
See AppBar.flexibleSpace
final
gradient Gradient
The Gradient for the BoxDecoration
final
iconTheme IconThemeData
See AppBar.iconTheme
final
leading Widget
See AppBar.leading
final
preferredSize Size
See AppBar.preferredSize
final
primary → bool
See AppBar.primary
final
shape ShapeBorder
See AppBar.shape
final
textTheme TextTheme
See AppBar.textTheme
final
title Widget
See AppBar.title
final
titleSpacing → double
See AppBar.titleSpacing
final
toolbarOpacity → double
See AppBar.toolbarOpacity
final
hashCode → int
The hash code for this object.
read-only, inherited
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget. [...]
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree. [...]
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style }) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel: DiagnosticLevel.debug }) → String
Returns a string representation of this object.
inherited
toStringDeep({String prefixLineOne: '', String prefixOtherLines, DiagnosticLevel minLevel: DiagnosticLevel.debug }) → String
Returns a string representation of this node and its descendants. [...]
inherited
toStringShallow({String joiner: ', ', DiagnosticLevel minLevel: DiagnosticLevel.debug }) → String
Returns a one-line detailed description of the object. [...]
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited