ComponentExtractor class

Turns the compiler's instance markers into components.

Occurrences of the same component whose subtrees differ only in text share a variant; the text becomes instance overrides. Any other visual difference (color, padding, structure) makes a separate variant, so an instance always renders exactly like its occurrence.

Constructors

ComponentExtractor({int minUses = 2, Map<String, String> sources = const {}})

Properties

hashCode → int
The hash code for this object.
no setterinherited
minUses → int
Project widgets used fewer times stay plain frames.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources → Map<String, String>
Where project widgets are declared, by class name.
final

Methods

extract(List<IrScreen> screens) → List<IrComponent>
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