LightSource class
A custom offset that define a source of light used to project a shadow of a widget left -1 <= dx <= 1 right top -1 <= dy <= 1 bottom
constants like "top", "topLeft", "topRight" are providen in LightSource
- Annotations
Constructors
- LightSource(double dx, double dy)
-
const
Properties
Methods
-
copyWith(
{double? dx, double? dy}) → LightSource -
invert(
) → LightSource -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toOffset(
double distance) → Offset -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
hclErp(
LightSource? a, LightSource? b, double t) → LightSource?
Constants
- bottom → const LightSource
- bottomLeft → const LightSource
- bottomRight → const LightSource
- left → const LightSource
- right → const LightSource
- top → const LightSource
- topLeft → const LightSource
- topRight → const LightSource