ArtboardBase class

Implementers

Constructors

ArtboardBase()

Properties

artboard Artboard
read-only, inherited
canBeOrphaned bool
read-only, inherited
children → ContainerChildren
final, inherited
context RuntimeArtboard
covariant, read / write, inherited
coreType int
read-only
coreTypes Set<int>
read-only
dependents Set<Component>
read-only, inherited
dirt int
read / write, inherited
graphOrder int
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
height double
Height of the artboard.
read / write
id int
read / write, inherited
name String
Non-unique identifier, used to give friendly names to elements in the hierarchy. Runtimes provide an API for finding components by this name.
read / write, inherited
originX double
Origin x in normalized coordinates (0 = center, -1 = left, 1 = right).
read / write
originY double
Origin y in normalized coordinates (0 = center, -1 = left, 1 = right).
read / write
parent ↔ ContainerComponent
read / write, inherited
parentId int
Identifier used to track parent ContainerComponent.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userData ↔ dynamic
read / write, inherited
width double
Width of the artboard.
read / write
x double
X coordinate in editor world space.
read / write
y double
Y coordinate in editor world space.
read / write

Methods

addDependent(Component dependent) bool
inherited
addDirt(int value, {bool recurse = false}) bool
inherited
appendChild(Component child) → void
inherited
buildDependencies() → void
@mustCallSuper, inherited
buildDrawOrder(List<Drawable> drawables, DrawRules rules, List<DrawRules> allRules) → void
inherited
childAdded(Component child) → void
@mustCallSuper, inherited
childRemoved(Component child) → void
inherited
forAll(DescentCallback cb) bool
inherited
forEachChild(DescentCallback cb) → void
inherited
heightChanged(double from, double to) → void
isValidParent(Component parent) bool
inherited
markRebuildDependencies() → void
inherited
nameChanged(String from, String to) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onAdded() → void
inherited
onAddedDirty() → void
inherited
onDependencyRemoved(Component dependent) → void
inherited
onDirty(int mask) → void
inherited
onRemoved() → void
@mustCallSuper, inherited
originXChanged(double from, double to) → void
originYChanged(double from, double to) → void
parentChanged(ContainerComponent from, ContainerComponent to) → void
@protected, inherited
parentIdChanged(int from, int to) → void
inherited
remove() → void
inherited
removeRecursive() → void
inherited
resolveArtboard() bool
inherited
toString() String
A string representation of this object. [...]
inherited
update(int dirt) → void
inherited
userDataChanged(dynamic from, dynamic to) → void
inherited
visitAncestor(Component ancestor) → void
@mustCallSuper, inherited
widthChanged(double from, double to) → void
xChanged(double from, double to) → void
yChanged(double from, double to) → void

Operators

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

Constants

heightPropertyKey → const int
8
originXPropertyKey → const int
11
originYPropertyKey → const int
12
typeKey → const int
1
widthPropertyKey → const int
7
xPropertyKey → const int
9
yPropertyKey → const int
10