duration property

Duration duration
final

The duration of one complete shimmer cycle.

This controls how fast the shimmer effect moves across the widget. Defaults to 2 seconds.

Implementation

final Duration duration;