typography top-level constant

Map<String, dynamic> const typography

Implementation

const Map<String, dynamic> typography = {
  "fontSize": {"property": 'fontSize', "scale": 'fontSize', "type": "double"},
  "fs": {"property": 'fontSize', "scale": 'fontSizes', "type": "double"},
  "letterSpacing": {
    "property": 'letterSpacing',
    "scale": 'letterSpacing',
    "type": "double"
  },
  "fontWeight": {
    "property": 'fontWeight',
    "scale": 'fontWeight',
  },
  "textCenter": TextAlign.center,
  "textEnd": TextAlign.end,
  "textJustify": TextAlign.justify,
  "textLeft": TextAlign.left,
  "textRight": TextAlign.right,
  "textStart": TextAlign.start,
  "underline": TextDecoration.underline,
  "lineThrough": TextDecoration.lineThrough,
  "overline": TextDecoration.overline,
  "italic": FontStyle.italic
};