package_checker library

Functions

checkIncompatiblePackages(Map<String, Dependency> dependencies, List<String> platforms) Future<Map<String, List<String>>>
A utility function to check for incompatible packages based on their platform support. It takes a map of dependencies and a list of platforms to check against. Returns a map with platform names as keys and lists of incompatible packages as values.
packageSupportsPlatform(String packageName) Future<List<String>>
Fetches the supported platforms for a given package from its pub.dev page. Returns a list of supported platforms in uppercase.
printStats(List<String> incompatiblePackages, String platform, int totalPackages) → void
Prints statistics about incompatible packages for a given platform. Parameters: