dart_dependency_checker 0.1.3 dart_dependency_checker: ^0.1.3 copied to clipboard
A utility package for checking dependencies within Dart/Flutter packages.
import 'package:dart_dependency_checker/dart_dependency_checker.dart';
void main() {
const checker = DepsUnusedChecker(
DepsUnusedParams(
path: './',
devIgnores: {'build_runner'},
mainIgnores: {'meta'},
),
);
try {
print('${checker.check()}');
} on CheckerError catch (e) {
print(e.message);
}
}