FontResources constructor

FontResources(
  1. {@required ColorResources colors,
  2. @required DimensionResources dimensions,
  3. TextStyle baseTextStyle,
  4. String fontFamily}
)

Implementation

FontResources({
  @required this.colors,
  @required this.dimensions,
  TextStyle baseTextStyle,
  this.fontFamily,
}) {
  _baseStyle = baseTextStyle != null ? baseTextStyle : (fontFamily != null ? TextStyle(fontFamily: fontFamily) : TextStyle());
}