dependency_visitor 0.1.1 copy "dependency_visitor: ^0.1.1" to clipboard
dependency_visitor: ^0.1.1 copied to clipboard

outdated

Visits root package, transitive and immediate dependencies in order to search given file.

example/lib/main.dart

import 'package:dependency_visitor/dependency_visitor.dart';

Future<void> main() async {
  print('Show which packages has LICENSE file:');
  DependencyVisitor(filePath: 'LICENSE').run().listen((dependencyFile) {
    print('Package: ${dependencyFile.packageName}:');
    print(dependencyFile.content);
    print('\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n');
  }).onDone(() {
    print('Done!');
  });
}
1
likes
0
pub points
6%
popularity

Publisher

unverified uploader

Visits root package, transitive and immediate dependencies in order to search given file.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

effective_dart, equatable, meta, path, pubspec_lock, universal_io, yaml

More

Packages that depend on dependency_visitor