DISCOVER FLUTTER — WEEK #18

Combine Multiple Styles Per Line With RichText in Flutter

Photo by Josh Felise on Unsplash

In most situations, the Text widget will meet all your needs. Although if you come across a situation where you need multiple styles per line, then the Text widget is not your best friend.

Thankfully, the Flutter team has developed a RichText widget that covers such requirements.