A Journal Through My Activities, Thoughts, and Notes
#flutter #markdown
行内代码inline code不能选中复制的问题终于解决了,要怪自己当初抄作业的时候没有抄全。几个要点:
1. 行内code也要包在一个Container
2. 行内code的样式不能有backgroundColor
3. 行内code的样式不可以直接用 style: preferredStyle

鸣谢Master Markdown and Multi-line Selection in Flutter: A Step-by-Step Tutorial Flutter markdown: Using Markdown with Cross-Line Selection in Flutter
 
 
Back to Top