showFadingOnlyWhenScrolling property

bool showFadingOnlyWhenScrolling
final

Whether the fading edge should only appear while the text is scrolling.

Sample code

This marquee will only show the fade while scrolling.

Marquee(
  showFadingOnlyWhenScrolling: true,
  fadingEdgeStartFraction: 0.1,
  fadingEdgeEndFraction: 0.1,
  text: 'Example text.',
)

Implementation

final bool showFadingOnlyWhenScrolling;