ComicTypeface constructor

const ComicTypeface({
  1. String display = 'Bangers',
  2. String text = 'ShantellSans',
  3. String? displayPackage = comicFontPackage,
  4. String? textPackage = comicFontPackage,
  5. @Deprecated(_scaleGone) double scale = 1,
  6. double displayCapHeight = 0.721,
  7. double textCapHeight = 0.700,
})

The look's faces unless named.

Implementation

const ComicTypeface({
  this.display = 'Bangers',
  this.text = 'ShantellSans',
  this.displayPackage = comicFontPackage,
  this.textPackage = comicFontPackage,
  @Deprecated(_scaleGone) this.scale = 1,
  this.displayCapHeight = 0.721,
  this.textCapHeight = 0.700,
}) : assert(scale > 0);