LexicalCard constructor
const
LexicalCard({
- Key? key,
- Map<
String, dynamic> ? sourceMap, - String? sourceString,
- TextStyle? paragraphStyle,
- bool? lazyLoad,
- EdgeInsets? tablePadding,
- EdgeInsets? paragraphPadding,
- EdgeInsets? numberedPadding,
- EdgeInsets? tableCellPadding,
- MathEquationOptions mathEquationOptions = const MathEquationOptions(),
- TextStyle? h1Style,
- TextStyle? h2Style,
- bool shrinkWrap = false,
- ScrollController? scrollController,
- ScrollPhysics? scrollPhysics,
- ImageOptions imageOptions = const ImageOptions(),
- EdgeInsetsGeometry? mathEquationPadding,
- EdgeInsetsGeometry? listPadding,
- required LexicalCardStyle cardStyle,
- VoidCallback? onClose,
- 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,
});