Key class
A lightweight key class used to identify and export specific DSL nodes.
This mirrors Flutter's Key semantics but has no Flutter dependency, allowing DSL files to remain pure Dart.
Usage
Container(
key: Key('my_container'),
height: 100,
color: 'Colors.red',
)
Then export via CLI:
dart run sdui export home_screen my_container
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override