GoogleFontFamilyImpl constructor

GoogleFontFamilyImpl(
  1. String name, {
  2. Iterable<FontStyle>? styles,
})

Implementation

GoogleFontFamilyImpl(this.name, {Iterable<FontStyle>? styles}) {
  if (styles != null) {
    this.styles.addAll(styles);
  }
}