ShapeVisibility class sealed

When an optional part of a composition shows. A hidden part takes no space in its row or column and paints nothing.

Constructors

ShapeVisibility.content(String slotId)
Shown while the text slot slotId has content, such as an optional tag.
const
factory
ShapeVisibility.value(String key)
Shown while the boolean value key is on, such as an entity's secondary section.
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isValue → bool
Whether the condition is a boolean value rather than a slot's content.
no setter
key → String
The slot or value the condition reads.
no setter
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