flutter scrolling text overflow code example
Example 1: text overflow flutter
Text(
'Text largeeeeeeeeeeeeeeeeeeeeeee',
overflow: TextOverflow.ellipsis,
),
Example 2: flutter scroll text on overflow
AutoSizeText(
text,
minFontSize: fontSize,
maxFontSize: fontSize,
style: TextStyle(
fontSize: fontSize,
fontWeight:fontWeight,
),
overflowReplacement: Marquee(
text: text,
blankSpace: blankSpace,
accelerationCurve: Curves.easeOutCubic,
velocity: velocity,
startPadding: 2.0,
startAfter: startAfter,
pauseAfterRound: pauseAfterRound,
style: TextStyle(
fontSize: fontSize,
fontWeight: fontWeight,
),
),
),