FontConfig constructor

const FontConfig({
  1. required String family,
  2. required List<String> fallback,
  3. required double size,
  4. required double lineHeight,
  5. FontStyleConfig? bold,
  6. FontStyleConfig? italic,
  7. FontStyleConfig? boldItalic,
  8. double offsetX = 0,
  9. double offsetY = 0,
  10. double glyphOffsetX = 0,
  11. double glyphOffsetY = 0,
})

Implementation

const FontConfig({
  required this.family,
  required this.fallback,
  required this.size,
  required this.lineHeight,
  this.bold,
  this.italic,
  this.boldItalic,
  this.offsetX = 0,
  this.offsetY = 0,
  this.glyphOffsetX = 0,
  this.glyphOffsetY = 0,
});