ZetaBanner class Components

A banner displays an important, succinct message, and provides action for users to address. It draws the attention to the message by displaying it at the top in various colors.

Inheritance
Available Extensions

Constructors

ZetaBanner({Key? key, required BuildContext context, required String title, IconData? leadingIcon, ZetaBannerStatus type = ZetaBannerStatus.primary, bool titleStart = false, Widget? trailing, bool? rounded, String? semanticLabel})
Constructor for ZetaBanner. See MaterialBanner for more information.

Properties

actions List<Widget>
The set of actions that are displayed at the bottom or trailing side of the MaterialBanner.
finalinherited
animation Animation<double>?
The animation driving the entrance and exit of the material banner when presented by the ScaffoldMessenger.
finalinherited
backgroundColor Color?
The color of the surface of this MaterialBanner.
finalinherited
content Widget
The content of the MaterialBanner.
finalinherited
contentTextStyle TextStyle?
Style for the text in the content of the MaterialBanner.
finalinherited
dividerColor Color?
The color of the divider.
finalinherited
elevation double?
The z-coordinate at which to place the material banner.
finalinherited
forceActionsBelow bool
An override to force the actions to be below the content regardless of how many there are.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
The (optional) leading widget of the MaterialBanner.
finalinherited
leadingPadding EdgeInsetsGeometry?
The amount of space by which to inset the leading widget.
finalinherited
margin EdgeInsetsGeometry?
Empty space to surround the MaterialBanner.
finalinherited
onVisible VoidCallback?
Called the first time that the material banner is visible within a Scaffold when presented by the ScaffoldMessenger.
finalinherited
overflowAlignment OverflowBarAlignment
The horizontal alignment of the actions when the actions laid out in a column.
finalinherited
padding EdgeInsetsGeometry?
The amount of space by which to inset the content.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
The color of the shadow below the MaterialBanner.
finalinherited
surfaceTintColor Color?
The color used as an overlay on backgroundColor to indicate elevation.
finalinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<MaterialBanner>
Creates the mutable state for this widget at a given 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
withAnimation(Animation<double> newAnimation, {Key? fallbackKey}) MaterialBanner
Creates a copy of this material banner but with the animation replaced with the given animation.
inherited

Operators

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