TextStyle.defaultStyle constructor

TextStyle.defaultStyle()

Implementation

factory TextStyle.defaultStyle() {
  return TextStyle(
    inherit: false,
    color: PdfColors.black,
    fontNormal: Font.helvetica(),
    fontBold: Font.helveticaBold(),
    fontItalic: Font.helveticaOblique(),
    fontBoldItalic: Font.helveticaBoldOblique(),
    fontFallback: const [],
    fontSize: _defaultFontSize,
    fontWeight: FontWeight.normal,
    fontStyle: FontStyle.normal,
    letterSpacing: 0,
    wordSpacing: 1,
    lineSpacing: 0,
    height: 1,
    decoration: TextDecoration.none,
    decorationColor: null,
    decorationStyle: TextDecorationStyle.solid,
    decorationThickness: 1,
    renderingMode: PdfTextRenderingMode.fill,
  );
}