Effect class final

A shadow or blur (Flutter's BoxShadow, ImageFilter.blur).

Annotations

Constructors

Effect({required EffectType type, String? id, bool visible = true, Color color = const Color(0x40000000), Offset offset = Offset.zero, double blurRadius = 0, double spreadRadius = 0, BlendMode blendMode = BlendMode.srcOver})
const

Properties

blendMode → BlendMode
final
blurRadius → double
final
color → Color
final
hashCode → int
The hash code for this object.
no setteroverride
id → String?
final
isShadow → bool
no setter
offset → Offset
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spreadRadius → double
final
type → EffectType
final
visible → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Object? json) → Effect?
listFromJson(Object? json) → List<Effect>