EmergentAppBar class

Inheritance
Implemented types

Constructors

EmergentAppBar({Key? key, Widget? title, EdgeInsets? buttonPadding, EmergentStyle? buttonStyle, IconThemeData? iconTheme, Color? color, List<Widget>? actions, TextStyle? textStyle, Widget? leading, bool automaticallyImplyLeading = true, bool? centerTitle, double titleSpacing = NavigationToolbar.kMiddleSpacing, double actionSpacing = defaultSpacing, double padding = 16})
const

Properties

actions List<Widget>?
Widgets to display in a row after the title widget.
final
actionSpacing double
The spacing actions left side, useful to have spacing between actions
final
automaticallyImplyLeading bool
Controls whether we should try to imply the leading widget if null.
final
buttonPadding EdgeInsets?
final
buttonStyle EmergentStyle?
final
centerTitle bool?
Whether the title should be centered.
final
color Color?
Force background color of the app bar
final
hashCode int
The hash code for this object.
no setterinherited
iconTheme IconThemeData?
Force color of the icon inside app bar
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
A widget to display before the title.
final
padding double
final
preferredSize Size
The size this widget would prefer if it were otherwise unconstrained.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
final
title Widget?
The primary widget displayed in the app bar.
final
titleSpacing double
The spacing around title content on the horizontal axis. This spacing is applied even if there is no leading content or actions. If you want title to take all the space available, set this value to 0.0.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() EmergentAppBarState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
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 ==(Object other) bool
The equality operator.
inherited

Constants

defaultSpacing → const double
toolbarHeight → const double