Want to justify text with Flutter markdown? It becomes possible to setup proper text alignment with flutter_markdown 0.3.4.
1 2 3 4 5 6 7 8 | var style = MarkdownStyleSheet( textAlign: WrapAlignment.center, h1Align: WrapAlignment.center, ); Markdown( styleSheet: style, data: '# header1 is center-aligned\ntext body is also center-aligned' ); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.