Dart and Flutter
Applicability and integration
The following functions are available for Dart and Flutter:
Available functions:
Test your app's SBOM using
pkg:pub
Test your app's packages using
pkg:pub
Technical specifications
Supported package managers: Pub
Supported package registry: pub.dev
Snyk features are not supported for Dart and Flutter. You can test an open-source package from Pub package manager:
Using the API endpoint List issues for a package
Using the SBOM CLI.
Testing platform dependencies (iOS, macOS, Android) in Flutter apps
Flutter applications rely on native platform dependencies to handle lower-level tasks, such as analytics, hardware access, or integrating existing functionality. These dependencies can be added through pub packages to extend functionality or integrated directly into build systems like Gradle or Cocoapods.
Snyk’s regular open-source support can scan these packages; however, a complete app build is necessary to make them available in the repository and accessible to CLI tools.
You can start by building the application for all relevant platforms. This ensures that pub
fetches all required packages, and the Flutter build system establishes the necessary links for the native build systems.
flutter build apk --debug
flutter build ios --debug --no-codesign
flutter build macos --debug
Next, run the snyk monitor
command to scan for native dependencies:
snyk monitor --all-projects --exclude=example,.symlinks
The --exclude
parameter removes duplicates and ignores example applications, which are part of the plugin source code but not included in regular application builds.
You are now able to view in the Snyk Web UI all native dependencies, including those introduced by third-party plugins.

Last updated
Was this helpful?