startPadding property

double startPadding
final

A padding for the resting position.

In between rounds, the marquee stops at this position. This parameter is especially useful if the marquee pauses after rounds and some other widgets are stacked on top of the marquee and block the sides, like fading gradients.

Sample code

Marquee(
  startPadding: 20.0,
  pauseAfterRound: Duration(seconds: 1),
  text: "During pausing, this text is shifted 20 pixel to the right."
)

Implementation

final double startPadding;