Flutter text output not throwing paragraph line when comes from Firebase
Solution 1:
Firestore doesn't support any escape sequences within string values. If you write "\n" in a string, you're going to get exactly that back when you read it. If you need to store something special, you may want to encode and decode that yourself.
just do mediaItem.description replace "\n" with: "\n" again (if you have created string using \n)
One more thing you can try mediaItem.description replace "\\n
" with: "\n" (if it was automatically created using some textarea etc)