TablePlaceholderShade class abstract

Instances of classes extending (or implementing, or mixing-in) this class manage placeholder layer shading.

Notifying listeners added to it will result in the eventual repainting of the layers shaded by the shader it creates.

Implemented types

Constructors

TablePlaceholderShade.static({required ShaderCallback shaderCallback, BlendMode blendMode})
This constructor creates a TablePlaceholderShade that isn't effected by existence of placeholders to shade and that doesn't cause repaints.
const
factory

Properties

active bool
Called on every repaint of the layers affected by the shading. This call is meant be used to determine the need to start or stop scheduling of updates for the purposes of animating the shader.
no getter
blendMode BlendMode
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
createShader(Rect bounds, double verticalScrollOffset) Shader
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
toString() String
A string representation of this object.
inherited

Operators

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