FontStyleImpl constructor
FontStyleImpl(
- GoogleFontFamilyImpl family,
- String name,
- FontWeight weight, {
- bool italic = false,
Implementation
FontStyleImpl(this.family, this.name, this.weight, {this.italic = false}) {
family.styles.add(this);
}