NavigationAppBar class

The bar displayed at the top of the app. It can adapt itself to all the display modes.

See also:

Mixed in types

Constructors

Creates an app bar
const

Properties

actions Widget?
A list of Widgets to display in a row after the title widget.
final
automaticallyImplyLeading bool
Controls whether we should try to imply the leading widget if null.
final
backgroundColor Color?
The background color. If null, ThemeData.scaffoldBackgroundColor is used.
final
hashCode int
The hash code for this object.
no setterinherited
height double
The height of the app bar. _kDefaultAppBarHeight is used by default
final
key Key?
final
leading Widget?
The widget at the beggining of the app bar, before title.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title Widget?
Typically a Text widget that contains the app name.
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

buildLeading(BuildContext context, NavigationAppBar appBar, [bool imply = true]) Widget