LexicalCard constructor

const LexicalCard({
  1. Key? key,
  2. Map<String, dynamic>? sourceMap,
  3. String? sourceString,
  4. TextStyle? paragraphStyle,
  5. bool? lazyLoad,
  6. EdgeInsets? tablePadding,
  7. EdgeInsets? paragraphPadding,
  8. EdgeInsets? numberedPadding,
  9. EdgeInsets? tableCellPadding,
  10. MathEquationOptions mathEquationOptions = const MathEquationOptions(),
  11. TextStyle? h1Style,
  12. TextStyle? h2Style,
  13. bool shrinkWrap = false,
  14. ScrollController? scrollController,
  15. ScrollPhysics? scrollPhysics,
  16. ImageOptions imageOptions = const ImageOptions(),
  17. EdgeInsetsGeometry? mathEquationPadding,
  18. EdgeInsetsGeometry? listPadding,
  19. required LexicalCardStyle cardStyle,
  20. VoidCallback? onClose,
  21. VoidCallback? onOpen,
})

Implementation

const LexicalCard({
  super.key,
  this.sourceMap,
  this.sourceString,
  this.paragraphStyle,
  this.lazyLoad,
  this.tablePadding,
  this.paragraphPadding,
  this.numberedPadding,
  this.tableCellPadding,
  this.mathEquationOptions = const MathEquationOptions(),
  this.h1Style,
  this.h2Style,
  this.shrinkWrap = false,
  this.scrollController,
  this.scrollPhysics,
  this.imageOptions = const ImageOptions(),
  this.mathEquationPadding,
  this.listPadding,
  required this.cardStyle,
  this.onClose,
  this.onOpen,
});