LinearGradient class

Inheritance
Implementers

Constructors

LinearGradient()

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, inherited
coreTypes Set<int>
read-only, inherited
dependents Set<Component>
read-only, inherited
dirt int
read / write, inherited
end → Vec2D
read-only
endOffset Offset
read-only
endX double
Change the _endX field value. endXChanged will be invoked only if the field's value has changed.
read / write, inherited
endY double
Change the _endY field value. endYChanged will be invoked only if the field's value has changed.
read / write, inherited
gradientStops List<GradientStop>
final
graphOrder int
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
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
opacity double
Change the _opacity field value. opacityChanged will be invoked only if the field's value has changed.
read / write, inherited
paint Paint
read-only, inherited
paintsInWorldSpace bool
read / write
parent ↔ ContainerComponent
read / write, inherited
parentId int
Identifier used to track parent ContainerComponent.
read / write, inherited
renderOpacity double
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shapePaintContainer → ShapePaintContainer
read-only, inherited
start → Vec2D
read-only
startOffset Offset
read-only
startX double
Change the _startX field value. startXChanged will be invoked only if the field's value has changed.
read / write, inherited
startY double
Change the _startY field value. startYChanged will be invoked only if the field's value has changed.
read / write, inherited
userData ↔ dynamic
read / write, inherited

Methods

addDependent(Component dependent) bool
inherited
addDirt(int value, {bool recurse = false}) bool
inherited
appendChild(Component child) → void
inherited
buildDependencies() → void
childAdded(Component child) → void
childRemoved(Component child) → void
endXChanged(double from, double to) → void
override
endYChanged(double from, double to) → void
override
forAll(DescentCallback cb) bool
inherited
forEachChild(DescentCallback cb) → void
inherited
initializePaintMutator(ShapePaintContainer container, Paint paint) → void
@mustCallSuper, inherited
isValidParent(Component parent) bool
inherited
makeGradient(Offset start, Offset end, List<Color> colors, List<double> colorPositions) Gradient
markGradientDirty() → void
markRebuildDependencies() → void
inherited
markStopsDirty() → void
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
opacityChanged(double from, double to) → void
override
parentChanged(ContainerComponent from, ContainerComponent to) → void
@protected, inherited
parentIdChanged(int from, int to) → void
inherited
remove() → void
inherited
removeRecursive() → void
inherited
resolveArtboard() bool
inherited
startXChanged(double from, double to) → void
override
startYChanged(double from, double to) → void
override
syncColor() → void
toString() String
A string representation of this object. [...]
inherited
update(int dirt) → void
userDataChanged(dynamic from, dynamic to) → void
inherited
visitAncestor(Component ancestor) → void
inherited

Operators

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