ZetaWidgetStatus enum

Status options for ZetaLabel, ZetaStatusLabel, ZetaInPageBanner.

Inheritance
Available extensions

Values

info → const ZetaWidgetStatus

Information widget; defaults to purple color scheme.

positive → const ZetaWidgetStatus

Positive widget; defaults to green color scheme.

warning → const ZetaWidgetStatus

Warning widget; defaults to yellow color scheme.

negative → const ZetaWidgetStatus

Negative widget; defaults to red color scheme.

neutral → const ZetaWidgetStatus

Neutral widget; defaults to grey color scheme.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

borderColor(BuildContext context) Color
Gets border color for ZetaWidgetStatus.
labelForegroundColor(BuildContext context) Color
Gets the label foreground color for ZetaWidgetStatus.
mainColor(BuildContext context) Color
Gets foreground color from ZetaWidgetStatus.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
surfaceColor(BuildContext context) Color
Gets the surface color for ZetaWidgetStatus.
surfaceSubtleColor(BuildContext context) Color
Gets the surface subtle color for ZetaWidgetStatus.
surfaceSubtleInPageBannerColor(BuildContext context) Color
Gets the surface subtle color for ZetaWidgetStatus.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<ZetaWidgetStatus>
A constant List of the values in this enum, in order of their declaration.