A composited layer that makes its children partially transparent
- Inheritance
- Object
- Layer
- ContainerLayer
- OpacityLayer
Constructors
- OpacityLayer({int alpha })
-
Creates an opacity layer.
Properties
- alpha → int
-
The amount to multiply into the alpha channel
read / write - debugCreator → dynamic
-
The object responsible for creating this layer.
read / write, inherited - firstChild → Layer
-
The first composited layer in this layer's child list
read-only, inherited - hashCode → int
-
Get a hash code for this object.
read-only, inherited - lastChild → Layer
-
The last composited layer in this layer's child list
read-only, inherited - nextSibling → Layer
-
This layer's next sibling in the parent layer's child list
read-only, inherited - parent → ContainerLayer
-
This layer's parent in the layer tree
read-only, inherited - previousSibling → Layer
-
This layer's previous sibling in the parent layer's child list
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addToScene(
SceneBuilder builder, Offset layerOffset) → void -
Override this method to upload this layer to the engine
-
debugFillDescription(
List<String> description) → void -
Add additional information to the given description for use by
toStringDeep
. -
addChildrenToScene(
SceneBuilder builder, Offset childOffset) → void -
Uploads all of this layer's children to the engine
inherited -
append(
Layer child) → void -
Adds the given layer to the end of this layer's child list
inherited -
debugDescribeChildren(
String prefix) → String -
Returns a description of this layer's children for use by
toStringDeep
.inherited -
detach(
) → void -
Removes this layer from its parent layer's child list
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
removeAllChildren(
) → void -
Removes all of this layer's children from its child list
inherited -
replaceWith(
Layer newLayer) → void -
Replaces this layer with the given layer in the parent layer's child list
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited -
toStringDeep(
[String prefixLineOne = '', String prefixOtherLines = '' ]) → String -
Returns a string representation of this layer and its descendants.
inherited