MarkdownViewer constructor
const
MarkdownViewer({
- Key? key,
- required String markdown,
- EdgeInsetsGeometry? padding = const EdgeInsets.all(20),
- bool selectable = true,
- bool shrinkWrap = true,
- bool threadTypography = false,
- Color? color,
- double? baseFontSize,
- Color? linkColor,
- Color? horizontalRuleColor,
- double horizontalRuleHeight = 1,
- ScrollPhysics? physics,
Implementation
const MarkdownViewer({
super.key,
required this.markdown,
this.padding = const EdgeInsets.all(20),
this.selectable = true,
this.shrinkWrap = true,
this.threadTypography = false,
this.color,
this.baseFontSize,
this.linkColor,
this.horizontalRuleColor,
this.horizontalRuleHeight = 1,
this.physics,
});