


# SmeupAppBar class











**Inheritance**

- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)
- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html)
- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)
- [StatefulWidget](https://api.flutter.dev/flutter/widgets/StatefulWidget-class.html)
- [AppBar](https://api.flutter.dev/flutter/material/AppBar-class.html)
- SmeupAppBar






## Constructors

[SmeupAppBar](../smeup_widgets_smeup_appBar/SmeupAppBar/SmeupAppBar.md) ([bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isDialog, {[Key](https://api.flutter.dev/flutter/foundation/Key-class.html) key, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)> appBarActions, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) appBarTitle, [BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) myContext, [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[ScaffoldState](https://api.flutter.dev/flutter/material/ScaffoldState-class.html)> scaffoldKey, [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[FormState](https://api.flutter.dev/flutter/widgets/FormState-class.html)> formKey, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) appBarImage = '', [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) backButtonVisible = true})

    


## Properties

##### [actions](https://api.flutter.dev/flutter/material/AppBar/actions.html) &#8594; [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)>



A list of Widgets to display in a row after the <a href="https://api.flutter.dev/flutter/material/AppBar/title.html">title</a> widget. [...](https://api.flutter.dev/flutter/material/AppBar/actions.html)  
_final, inherited_



##### [actionsIconTheme](https://api.flutter.dev/flutter/material/AppBar/actionsIconTheme.html) &#8594; [IconThemeData](https://api.flutter.dev/flutter/widgets/IconThemeData-class.html)



The color, opacity, and size to use for the icons that appear in the app
bar's <a href="https://api.flutter.dev/flutter/material/AppBar/actions.html">actions</a>. [...](https://api.flutter.dev/flutter/material/AppBar/actionsIconTheme.html)  
_final, inherited_



##### [appBarActions](../smeup_widgets_smeup_appBar/SmeupAppBar/appBarActions.md) &#8594; [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)>



   
_final_



##### [appBarImage](../smeup_widgets_smeup_appBar/SmeupAppBar/appBarImage.md) &#8594; [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



   
_final_



##### [appBarTitle](../smeup_widgets_smeup_appBar/SmeupAppBar/appBarTitle.md) &#8594; [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



   
_final_



##### [automaticallyImplyLeading](https://api.flutter.dev/flutter/material/AppBar/automaticallyImplyLeading.html) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



Controls whether we should try to imply the leading widget if null. [...](https://api.flutter.dev/flutter/material/AppBar/automaticallyImplyLeading.html)  
_final, inherited_



##### [backButtonVisible](../smeup_widgets_smeup_appBar/SmeupAppBar/backButtonVisible.md) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



   
_final_



##### [backgroundColor](https://api.flutter.dev/flutter/material/AppBar/backgroundColor.html) &#8594; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



The fill color to use for an app bar's <a href="https://api.flutter.dev/flutter/material/Material-class.html">Material</a>. [...](https://api.flutter.dev/flutter/material/AppBar/backgroundColor.html)  
_final, inherited_



##### [~~backwardsCompatibility~~](https://api.flutter.dev/flutter/material/AppBar/backwardsCompatibility.html) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



This property is deprecated and is false by default. [...](https://api.flutter.dev/flutter/material/AppBar/backwardsCompatibility.html)  
_@[Deprecated](https://api.flutter.dev/flutter/dart-core/Deprecated-class.html)(&#39;This property is obsolete and is false by default. &#39; &#39;This feature was deprecated after v2.4.0-0.0.pre.&#39;), final, inherited_



##### [bottom](https://api.flutter.dev/flutter/material/AppBar/bottom.html) &#8594; [PreferredSizeWidget](https://api.flutter.dev/flutter/widgets/PreferredSizeWidget-class.html)



This widget appears across the bottom of the app bar. [...](https://api.flutter.dev/flutter/material/AppBar/bottom.html)  
_final, inherited_



##### [bottomOpacity](https://api.flutter.dev/flutter/material/AppBar/bottomOpacity.html) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



How opaque the bottom part of the app bar is. [...](https://api.flutter.dev/flutter/material/AppBar/bottomOpacity.html)  
_final, inherited_



##### [~~brightness~~](https://api.flutter.dev/flutter/material/AppBar/brightness.html) &#8594; [Brightness](https://api.flutter.dev/flutter/dart-ui/Brightness.html)



This property is deprecated, please use <a href="https://api.flutter.dev/flutter/material/AppBar/systemOverlayStyle.html">systemOverlayStyle</a> instead. [...](https://api.flutter.dev/flutter/material/AppBar/brightness.html)  
_@[Deprecated](https://api.flutter.dev/flutter/dart-core/Deprecated-class.html)(&#39;This property is no longer used, please use systemOverlayStyle instead. &#39; &#39;This feature was deprecated after v2.4.0-0.0.pre.&#39;), final, inherited_



##### [centerTitle](https://api.flutter.dev/flutter/material/AppBar/centerTitle.html) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



Whether the title should be centered. [...](https://api.flutter.dev/flutter/material/AppBar/centerTitle.html)  
_final, inherited_



##### [elevation](https://api.flutter.dev/flutter/material/AppBar/elevation.html) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



The z-coordinate at which to place this app bar relative to its parent. [...](https://api.flutter.dev/flutter/material/AppBar/elevation.html)  
_final, inherited_



##### [excludeHeaderSemantics](https://api.flutter.dev/flutter/material/AppBar/excludeHeaderSemantics.html) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



Whether the title should be wrapped with header <a href="https://api.flutter.dev/flutter/widgets/Semantics-class.html">Semantics</a>. [...](https://api.flutter.dev/flutter/material/AppBar/excludeHeaderSemantics.html)  
_final, inherited_



##### [flexibleSpace](https://api.flutter.dev/flutter/material/AppBar/flexibleSpace.html) &#8594; [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)



This widget is stacked behind the toolbar and the tab bar. Its height will
be the same as the app bar's overall height. [...](https://api.flutter.dev/flutter/material/AppBar/flexibleSpace.html)  
_final, inherited_



##### [foregroundColor](https://api.flutter.dev/flutter/material/AppBar/foregroundColor.html) &#8594; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



The default color for <a href="https://api.flutter.dev/flutter/widgets/Text-class.html">Text</a> and <a href="https://api.flutter.dev/flutter/widgets/Icon-class.html">Icon</a>s within the app bar. [...](https://api.flutter.dev/flutter/material/AppBar/foregroundColor.html)  
_final, inherited_



##### [formKey](../smeup_widgets_smeup_appBar/SmeupAppBar/formKey.md) &#8594; [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[FormState](https://api.flutter.dev/flutter/widgets/FormState-class.html)>



   
_final_



##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) &#8594; [int](https://api.flutter.dev/flutter/dart-core/int-class.html)



The hash code for this object. [...](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html)  
_@[nonVirtual](https://pub.dev/documentation/meta/1.7.0/meta/nonVirtual-constant.html), read-only, inherited_



##### [iconTheme](https://api.flutter.dev/flutter/material/AppBar/iconTheme.html) &#8594; [IconThemeData](https://api.flutter.dev/flutter/widgets/IconThemeData-class.html)



The color, opacity, and size to use for toolbar icons. [...](https://api.flutter.dev/flutter/material/AppBar/iconTheme.html)  
_final, inherited_



##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) &#8594; [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)



Controls how one widget replaces another widget in the tree. [...](https://api.flutter.dev/flutter/widgets/Widget/key.html)  
_final, inherited_



##### [leading](https://api.flutter.dev/flutter/material/AppBar/leading.html) &#8594; [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)



A widget to display before the toolbar's <a href="https://api.flutter.dev/flutter/material/AppBar/title.html">title</a>. [...](https://api.flutter.dev/flutter/material/AppBar/leading.html)  
_final, inherited_



##### [leadingWidth](https://api.flutter.dev/flutter/material/AppBar/leadingWidth.html) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



Defines the width of <a href="https://api.flutter.dev/flutter/material/AppBar/leading.html">leading</a> widget. [...](https://api.flutter.dev/flutter/material/AppBar/leadingWidth.html)  
_final, inherited_



##### [myContext](../smeup_widgets_smeup_appBar/SmeupAppBar/myContext.md) &#8594; [BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html)



   
_final_



##### [preferredSize](https://api.flutter.dev/flutter/material/AppBar/preferredSize.html) &#8594; [Size](https://api.flutter.dev/flutter/dart-ui/Size-class.html)



A size whose height is the sum of <a href="https://api.flutter.dev/flutter/material/AppBar/toolbarHeight.html">toolbarHeight</a> and the <a href="https://api.flutter.dev/flutter/material/AppBar/bottom.html">bottom</a> widget's
preferred height. [...](https://api.flutter.dev/flutter/material/AppBar/preferredSize.html)  
_final, inherited_



##### [primary](https://api.flutter.dev/flutter/material/AppBar/primary.html) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



Whether this app bar is being displayed at the top of the screen. [...](https://api.flutter.dev/flutter/material/AppBar/primary.html)  
_final, inherited_



##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) &#8594; [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html)



A representation of the runtime type of the object.   
_read-only, inherited_



##### [scaffoldKey](../smeup_widgets_smeup_appBar/SmeupAppBar/scaffoldKey.md) &#8594; [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[ScaffoldState](https://api.flutter.dev/flutter/material/ScaffoldState-class.html)>



   
_final_



##### [shadowColor](https://api.flutter.dev/flutter/material/AppBar/shadowColor.html) &#8594; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



The color of the shadow below the app bar. [...](https://api.flutter.dev/flutter/material/AppBar/shadowColor.html)  
_final, inherited_



##### [shape](https://api.flutter.dev/flutter/material/AppBar/shape.html) &#8594; [ShapeBorder](https://api.flutter.dev/flutter/painting/ShapeBorder-class.html)



The shape of the app bar's <a href="https://api.flutter.dev/flutter/material/Material-class.html">Material</a> as well as its shadow. [...](https://api.flutter.dev/flutter/material/AppBar/shape.html)  
_final, inherited_



##### [systemOverlayStyle](https://api.flutter.dev/flutter/material/AppBar/systemOverlayStyle.html) &#8594; [SystemUiOverlayStyle](https://api.flutter.dev/flutter/services/SystemUiOverlayStyle-class.html)



Specifies the style to use for the system overlays that overlap the AppBar. [...](https://api.flutter.dev/flutter/material/AppBar/systemOverlayStyle.html)  
_final, inherited_



##### [~~textTheme~~](https://api.flutter.dev/flutter/material/AppBar/textTheme.html) &#8594; [TextTheme](https://api.flutter.dev/flutter/material/TextTheme-class.html)



This property is deprecated, please use <a href="https://api.flutter.dev/flutter/material/AppBar/toolbarTextStyle.html">toolbarTextStyle</a> and
<a href="https://api.flutter.dev/flutter/material/AppBar/titleTextStyle.html">titleTextStyle</a> instead. [...](https://api.flutter.dev/flutter/material/AppBar/textTheme.html)  
_@[Deprecated](https://api.flutter.dev/flutter/dart-core/Deprecated-class.html)(&#39;This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. &#39; &#39;This feature was deprecated after v2.4.0-0.0.pre.&#39;), final, inherited_



##### [title](https://api.flutter.dev/flutter/material/AppBar/title.html) &#8594; [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)



The primary widget displayed in the app bar. [...](https://api.flutter.dev/flutter/material/AppBar/title.html)  
_final, inherited_



##### [titleSpacing](https://api.flutter.dev/flutter/material/AppBar/titleSpacing.html) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



The spacing around <a href="https://api.flutter.dev/flutter/material/AppBar/title.html">title</a> content on the horizontal axis. This spacing is
applied even if there is no <a href="https://api.flutter.dev/flutter/material/AppBar/leading.html">leading</a> content or <a href="https://api.flutter.dev/flutter/material/AppBar/actions.html">actions</a>. If you want
<a href="https://api.flutter.dev/flutter/material/AppBar/title.html">title</a> to take all the space available, set this value to 0.0. [...](https://api.flutter.dev/flutter/material/AppBar/titleSpacing.html)  
_final, inherited_



##### [titleTextStyle](https://api.flutter.dev/flutter/material/AppBar/titleTextStyle.html) &#8594; [TextStyle](https://api.flutter.dev/flutter/painting/TextStyle-class.html)



The default text style for the AppBar's <a href="https://api.flutter.dev/flutter/material/AppBar/title.html">title</a> widget. [...](https://api.flutter.dev/flutter/material/AppBar/titleTextStyle.html)  
_final, inherited_



##### [toolbarHeight](https://api.flutter.dev/flutter/material/AppBar/toolbarHeight.html) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



Defines the height of the toolbar component of an <a href="https://api.flutter.dev/flutter/material/AppBar-class.html">AppBar</a>. [...](https://api.flutter.dev/flutter/material/AppBar/toolbarHeight.html)  
_final, inherited_



##### [toolbarOpacity](https://api.flutter.dev/flutter/material/AppBar/toolbarOpacity.html) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



How opaque the toolbar part of the app bar is. [...](https://api.flutter.dev/flutter/material/AppBar/toolbarOpacity.html)  
_final, inherited_



##### [toolbarTextStyle](https://api.flutter.dev/flutter/material/AppBar/toolbarTextStyle.html) &#8594; [TextStyle](https://api.flutter.dev/flutter/painting/TextStyle-class.html)



The default text style for the AppBar's <a href="https://api.flutter.dev/flutter/material/AppBar/leading.html">leading</a>, and
<a href="https://api.flutter.dev/flutter/material/AppBar/actions.html">actions</a> widgets, but not its <a href="https://api.flutter.dev/flutter/material/AppBar/title.html">title</a>. [...](https://api.flutter.dev/flutter/material/AppBar/toolbarTextStyle.html)  
_final, inherited_




## Methods

##### [createElement](https://api.flutter.dev/flutter/widgets/StatefulWidget/createElement.html)() [StatefulElement](https://api.flutter.dev/flutter/widgets/StatefulElement-class.html)



Creates a <a href="https://api.flutter.dev/flutter/widgets/StatefulElement-class.html">StatefulElement</a> to manage this widget's location in the tree. [...](https://api.flutter.dev/flutter/widgets/StatefulWidget/createElement.html)  
_inherited_



##### [createState](https://api.flutter.dev/flutter/material/AppBar/createState.html)() [State](https://api.flutter.dev/flutter/widgets/State-class.html)&lt;[AppBar](https://api.flutter.dev/flutter/material/AppBar-class.html)>



Creates the mutable state for this widget at a given location in the tree. [...](https://api.flutter.dev/flutter/material/AppBar/createState.html)  
_inherited_



##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)>



Returns a list of <code>DiagnosticsNode</code> objects describing this node's
children. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)  
_@[protected](https://pub.dev/documentation/meta/1.7.0/meta/protected-constant.html), inherited_



##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void



Add additional properties associated with the node. [...](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)  
_inherited_



##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic



Invoked when a non-existent method or property is accessed. [...](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)  
_inherited_



##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html) style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)



Returns a debug representation of the object that is used by debugging
tools and by <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode/toStringDeep.html">DiagnosticsNode.toStringDeep</a>. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)  
_inherited_



##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



A string representation of this object. [...](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)  
_inherited_



##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



Returns a string representation of this node and its descendants. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)  
_inherited_



##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



Returns a one-line detailed description of the object. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)  
_inherited_



##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



A short, textual description of this widget.   
_inherited_




## Operators

##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



The equality operator. [...](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)  
_@[nonVirtual](https://pub.dev/documentation/meta/1.7.0/meta/nonVirtual-constant.html), inherited_




## Static Properties

##### [isBusy](../smeup_widgets_smeup_appBar/SmeupAppBar/isBusy.md) &#8596; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



   
_read / write_










