Flutter – How to limit text length

Today, when I use TextSpan widget?

 child: Text(  snapshot.data[index].slug),

then i got this problem

Solution:

after using substring length my problem got solved

Refrence:https://stackoverflow.com/questions/57685855/flutter-how-to-limit-text-length

Related Posts

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence Universe