ZdsHtmlContainer constructor

const ZdsHtmlContainer(
  1. String htmlText,
  2. {Key? key,
  3. bool expanded = false,
  4. double? fontSize,
  5. bool showReadMore = true,
  6. void onLinkTap(
    1. String? url,
    2. Map<String, String> attributes,
    3. Element? element
    )?,
  7. double containerHeight = 200,
  8. Map<String, HtmlExtension> extensions = const {},
  9. Map<String, Style> style = const {}}
)

Creates a new instance of the ZdsHtmlContainer widget.

The htmlText parameter is required, and other parameters are optional.

Implementation

const ZdsHtmlContainer