MarkdownViewer constructor

const MarkdownViewer({
  1. Key? key,
  2. required String markdown,
  3. EdgeInsetsGeometry? padding = const EdgeInsets.all(20),
  4. bool selectable = true,
  5. bool shrinkWrap = true,
  6. bool threadTypography = false,
  7. Color? color,
  8. double? baseFontSize,
  9. Color? linkColor,
  10. Color? horizontalRuleColor,
  11. double horizontalRuleHeight = 1,
  12. 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,
});