LightingConfig class

Class used to configure lighting

Constructors

LightingConfig({required double radius, required Color color, bool withPulse = false, bool useComponentAngle = false, Curve pulseCurve = Curves.decelerate, double pulseVariation = 0.1, double pulseSpeed = 0.1, double? blurBorder, LightingType type = LightingType.circle, Vector2? align})

Properties

align Vector2
final
blurBorder double
Configure blur in lighting
final
color Color
Color of the lighting
final
hashCode int
The hash code for this object.
no setterinherited
maskFilter MaskFilter
no setter
pulseCurve Curve
Configure curve in pulse effect
final
pulseSpeed double
Configure speed in pulse effect
final
pulseVariation double
Configure variation in pulse effect
final
radius double
Radius of the lighting
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type LightingType
Configure type of the lighting
final
useComponentAngle bool
Light follow component angle
final
valuePulse double
no setter
withPulse bool
Enable pulse effect in lighting
final

Methods

copyWith({double? radius, Color? color, bool? withPulse, bool? useComponentAngle, double? pulseVariation, double? pulseSpeed, Curve? pulseCurve, double? blurBorder, LightingType? type}) LightingConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(double dt) → void

Operators

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