MdPreview constructor

MdPreview({
  1. Key? key,
  2. required String text,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  4. TapLinkCallback? onTapLink,
  5. required dynamic widgetImage,
  6. TextStyle? textStyle,
  7. ScrollPhysics? physics,
})

Implementation

MdPreview({
  Key? key,
  required this.text,
  this.padding = const EdgeInsets.all(0.0),
  this.onTapLink,
  required this.widgetImage,
  this.textStyle,
  this.physics,
}) : super(key: key);