FLUTTER ECOSYSTEM

build_verify

Test utility to ensure generated Dart code within a package is up-to-date when using package:build.

Latest version
3.1.1
30-day downloads
116.9K
Likes
55
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

build_verify is a development tool for Flutter and Dart projects that use the package:build system. It ensures generated code remains up-to-date by verifying build outputs during development or CI workflows. The package runs checks to detect if any generated files are stale, helping maintain code consistency and prevent runtime issues from outdated code. It integrates seamlessly with Flutter's pub system and supports multiple platforms including Android, iOS, macOS, Windows, and Linux.

Use cases
  • Ensuring generated code is current in build-based projects
  • Preventing runtime errors from stale code
  • Validating builds in CI/CD pipelines
  • Detecting missing or outdated build outputs
  • Supporting automated testing workflows
Key features
  • Automated verification of generated code
  • Integration with package:build
  • CLI command for easy execution
  • Cross-platform support
  • Lightweight and fast checks
Suitable for
  • Developers using package:build
  • Teams enforcing code quality standards
  • CI/CD environments
  • Projects with code generation
Considerations
  • Requires package:build setup
  • Not needed for non-build-based projects
  • May require configuration in complex build setups
  • Best used alongside build_runner
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add build_verify

Categories

Related projects