package_file_loader 0.3.0 package_file_loader: ^0.3.0 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());
}