numberOfRounds property

int? numberOfRounds
final

When the text scrolled around numberOfRounds times, it will stop scrolling null indicates there is no limit

Sample code

This marquee stops after 3 rounds

Marquee(
  numberOfRounds:3,
  text: 'Stopping after three rounds.'
)

Implementation

final int? numberOfRounds;