TeXViewStyle.fromCSS constructor

const TeXViewStyle.fromCSS(
  1. String? cascadingStyleSheets
)

Styling TeXView with hard coded CSS e.g. "color:green;background-color:red".

Implementation

const TeXViewStyle.fromCSS(this.cascadingStyleSheets)
    : padding = null,
      margin = null,
      sizeUnit = null,
      height = null,
      width = null,
      elevation = null,
      contentColor = null,
      backgroundColor = null,
      border = null,
      borderRadius = null,
      fontStyle = null,
      textAlign = null;