FontFaceDescriptors constructor

FontFaceDescriptors({
  1. String? ascentOverride,
  2. String? descentOverride,
  3. FontDisplay? display,
  4. String? featureSettings,
  5. String? lineGapOverride,
  6. String? stretch,
  7. String? style,
  8. String? unicodeRange,
  9. String? variant,
  10. String? weight,
})

Implementation

factory FontFaceDescriptors({
  _i2.String? ascentOverride,
  _i2.String? descentOverride,
  _i3.FontDisplay? display,
  _i2.String? featureSettings,
  _i2.String? lineGapOverride,
  _i2.String? stretch,
  _i2.String? style,
  _i2.String? unicodeRange,
  _i2.String? variant,
  _i2.String? weight,
}) =>
    FontFaceDescriptors._(
      ascentOverride: ascentOverride,
      descentOverride: descentOverride,
      display: display?.name ?? _i6.undefined,
      featureSettings: featureSettings,
      lineGapOverride: lineGapOverride,
      stretch: stretch,
      style: style,
      unicodeRange: unicodeRange,
      variant: variant,
      weight: weight,
    );