images_files_checker 0.0.1 images_files_checker: ^0.0.1 copied to clipboard
A CLI tool that checks each image in the project and report missing files or incorrect image resolution.
example/images_files_checker_example.dart
import 'dart:io';
/// This package is intended to be used on CLI. Ex:
/// flutter pub run images_files_checker --path assets/images --unexpected-dir-is-an-error
void main() async {
final result = await Process.run("dart", [
"bin/images_files_checker.dart",
"--path",
"./example/images",
"--resolutions",
" 1.0x,1.5x",
]);
print(result.stdout);
}