loadFile static method

Icon? loadFile(
  1. String filePath
)

Load an image from file

Implementation

static Icon? loadFile(String filePath) {
  return Icon._loadBytes(File(filePath).readAsBytesSync());
}