BlockNoteFontFile constructor

const BlockNoteFontFile({
  1. required String path,
  2. required BlockNoteFontFormat format,
  3. FontWeight? weight,
  4. FontStyle? style,
})

Creates a new font file configuration.

Implementation

const BlockNoteFontFile({
  required this.path,
  required this.format,
  this.weight,
  this.style,
});