FluentStatusIndicatorBaseState class

Everything needed to render a status indicator, independent of category and size.

The counterpart of FluentButtonBaseState: what buildFluentStatusIndicator reads, and nothing more, which is what lets a consumer keep Fluent's rendering while substituting their own styling.

Implementers
Annotations

Constructors

FluentStatusIndicatorBaseState({required Widget icon, Widget? label})
Creates a base state.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget
The glyph. Required: a status indicator with no glyph is a line of text.
final
label Widget?
The label, if any. Null renders the glyph alone.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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