NavigationAppBar class
The bar displayed at the top of the app. It can adapt itself to all the display modes.
See also:
- NavigationView, which uses this to render the app bar
- Mixed-in types
Constructors
-
Creates a fluent-styled 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 of this app bar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The height of the app bar.
_kDefaultAppBarHeight
is used by defaultfinal - 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
-
finalHeight(
BuildContext context) → double - Determines the height of this app bar based on its height and the top padding from the system.
-
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