loadFont static method

Future<void> loadFont({
  1. required String name,
  2. required List<String> paths,
  3. bool isRelativePath = true,
})

Optionally load fonts

Implementation

static Future<void> loadFont({
  required String name,
  required List<String> paths,
  bool isRelativePath = true,
}) =>
    loadCustomFont(
      name: name,
      paths: paths,
      isRelativePath: isRelativePath,
    );