Font constructor

Font({
  1. String fontName = 'NORMAL',
})

The constructor receives the font name as a parameter, and the font must be available in the assets folder under the directory "/fonts". By default, it is set to "NORMAL".

Implementation

Font({this.fontName = 'NORMAL'});