package_file_loader 0.1.3 package_file_loader: ^0.1.3 copied to clipboard
Simple utility functions for loading a file from packages
example/package_file_loader_example.dart
import 'package:package_file_loader/package_file_loader.dart';
Future<void> main() async {
final file = await loadPackageFile('package:package_file_loader/package_file_loader');
print(file.existsSync());
}