FontConfig constructor
const
FontConfig({
- required String family,
- required List<
String> fallback, - required double size,
- required double lineHeight,
- FontStyleConfig? bold,
- FontStyleConfig? italic,
- FontStyleConfig? boldItalic,
- double offsetX = 0,
- double offsetY = 0,
- double glyphOffsetX = 0,
- 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,
});