FluentDividerState class

A divider's fully resolved state, including the design axes.

The counterpart of FluentButtonState: base state plus exactly appearance and inset, the two axes Figma models as variable collection modes rather than variant properties.

Inheritance
Annotations

Constructors

FluentDividerState({required bool vertical, required FluentDividerAlignment alignment, required FluentDividerAppearance appearance, required bool inset, Widget? icon, Widget? label})
Creates a resolved state.
const

Properties

alignment → FluentDividerAlignment
Where the label sits along the rule.
finalinherited
appearance → FluentDividerAppearance
How strongly the rule and label read.
final
hasContent → bool
Whether anything at all sits between the two rules.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
icon → Widget?
The icon, if any.
finalinherited
inset → bool
Whether the whole divider is inset from its container. Selects the Inset mode of Figma's Divider padding collection over the default Full.
final
label → Widget?
The label, if any. A divider with neither icon nor label is a single uninterrupted rule.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vertical → bool
Whether the rule runs top to bottom rather than left to right. Figma's Vertical axis.
finalinherited

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