FontModel constructor

const FontModel({
  1. required String fontFamily,
  2. String? fontUrl,
  3. Map<int, String>? fontWeights,
})

从网络加载的字体模型

Implementation

const FontModel({required this.fontFamily, this.fontUrl, this.fontWeights});