Font constructor

Font(
  1. String name, {
  2. int? size,
  3. FontStyle? style,
})

Implementation

Font(
  String name, {
  int? size,
  FontStyle? style,
})  : _name = name,
      _size = size,
      _style = style;