load static method

IconFont? load(
  1. String path
)

Implementation

static IconFont? load(String path) {
  final file = File(path);
  return file.existsSync() ? parse(file.readAsBytesSync()) : null;
}