dart_dependency_checker 0.1.0 dart_dependency_checker: ^0.1.0 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: {'lints', 'build_runner'},
),
);
try {
print('${checker.check()}');
} on PubspecNotFoundError catch (e) {
print(e.message);
}
}