isVector static method

bool isVector(
  1. String filePath
)

文件是否是Vector

Implementation

static bool isVector(String filePath) {
  return filePath.toLowerCase().endsWith(".svg");
}