Shadow class

Generic class allowing the customization of a shadow color, shape and position.

Constructors

Shadow.new({Color? color, double spread = 1, Offset offset = const Offset(0, 0), double inflate = 0, double radius = 0})
const

Properties

color Color?
Default color is null.
final
hashCode int
The hash code for this object.
no setterinherited
inflate double
Default inflate is 0.
final
offset Offset
Default offset is 0,0.
final
radius double
Default radius is 0.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spread double
Default spread is 1.
final

Methods

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

Operators

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