MorphingAppBar class
An adapted version of AppBar that morphs while navigating.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- MorphingAppBar
- Implemented types
Constructors
-
MorphingAppBar({Key? key, Object heroTag = 'MorphingAppBar', Widget? leading, bool automaticallyImplyLeading = true, Widget? title, List<
Widget> ? actions, Widget? flexibleSpace, PreferredSizeWidget? bottom, double? elevation, double? scrolledUnderElevation, ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, Color? backgroundColor, Color? foregroundColor, IconThemeData? iconTheme, IconThemeData? actionsIconTheme, bool primary = true, bool? centerTitle, bool excludeHeaderSemantics = false, double? titleSpacing, double toolbarOpacity = 1.0, double bottomOpacity = 1.0, double? toolbarHeight, double? leadingWidth, TextStyle? toolbarTextStyle, TextStyle? titleTextStyle, SystemUiOverlayStyle? systemOverlayStyle, bool forceMaterialTransparency = false, Clip? clipBehavior})
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
- centerTitle → bool?
-
See AppBar.centerTitle
final
- clipBehavior → Clip?
-
See AppBar.clipBehavior
final
- elevation → double?
-
See AppBar.elevation
final
- excludeHeaderSemantics → bool
-
See AppBar.excludeHeaderSemantics
final
- flexibleSpace → Widget?
-
See AppBar.flexibleSpace
final
- forceMaterialTransparency → bool
-
See AppBar.forceMaterialTransparency
final
- foregroundColor → Color?
-
See AppBar.foregroundColor
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heroTag → Object
-
Tag used for the internally created Hero widget.
final
- iconTheme → IconThemeData?
-
See AppBar.iconTheme
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- leading → Widget?
-
See AppBar.leading
final
- leadingWidth → double?
-
See AppBar.leadingWidth
final
- notificationPredicate → ScrollNotificationPredicate
-
See AppBar.notificationPredicate
final
- preferredSize → Size
-
The size this widget would prefer if it were otherwise unconstrained.
final
- primary → bool
-
See AppBar.primary
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrolledUnderElevation → double?
-
See AppBar.scrolledUnderElevation
final
- shadowColor → Color?
-
See AppBar.shadowColor
final
- shape → ShapeBorder?
-
See AppBar.shape
final
- surfaceTintColor → Color?
-
See AppBar.surfaceTintColor
final
- systemOverlayStyle → SystemUiOverlayStyle?
-
See AppBar.systemOverlayStyle
final
- title → Widget?
-
See AppBar.title
final
- titleSpacing → double?
-
See AppBar.titleSpacing
final
- titleTextStyle → TextStyle?
-
See AppBar.titleTextStyle
final
- toolbarHeight → double?
-
See AppBar.toolbarHeight
final
- toolbarOpacity → double
-
See AppBar.toolbarOpacity
final
- toolbarTextStyle → TextStyle?
-
See AppBar.toolbarTextStyle
final
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.
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