HeadingBaseStyle constructor

HeadingBaseStyle({
  1. String? color,
  2. Dark? dDark,
  3. String? fontWeight,
  4. String? lineHeight,
})

Implementation

HeadingBaseStyle(
    {String? color, Dark? dDark, String? fontWeight, String? lineHeight}) {
  if (color != null) {
    _color = color;
  }
  if (dDark != null) {
    _dDark = dDark;
  }
  if (fontWeight != null) {
    _fontWeight = fontWeight;
  }
  if (lineHeight != null) {
    _lineHeight = lineHeight;
  }
}