duration property
The Duration
over which any changes to this Foil
's gradient
will intrinsically animate. Default is 500ms
.
Furthermore, if isUnwrapped is made true
, gradient will smoothly
Gradient.lerp to an appropriately-Type
d transparent gradient for
tweening over duration.
Implementation
final Duration duration;