Search packages, repositories and app categories

Package detailsv1.2.2

scratch_space

A tool to manage running external executables within package:build.

AndroidiOSmacOSWindowsLinux
30-day downloads
246K
Likes
9
Pub points
150

Install package

flutter pub add scratch_space

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

ScratchSpace is a Dart package designed to manage external executables during the build process in package:build. It provides a safe, isolated environment for running commands, ensuring clean execution and preventing conflicts between builds. The package handles temporary file management, process isolation, and cleanup automatically, making it ideal for build-time tooling that requires external binaries. It supports multiple platforms including Android, iOS, macOS, Windows, and Linux, enabling consistent behavior across development environments.

Use cases

  • Running custom build scripts
  • Executing external tools during compilation
  • Managing temporary build artifacts
  • Integrating third-party CLI tools
  • Ensuring isolated build environments

Key features

  • Automatic process isolation
  • Safe temporary file handling
  • Cross-platform compatibility
  • Built-in cleanup of resources
  • Seamless integration with package:build

Suitable for

  • Build system developers
  • Tooling authors
  • CI/CD pipeline integrators
  • Dart package maintainers

Considerations

  • Requires package:build integration
  • Limited to build-time use cases
  • May require platform-specific setup
  • Not intended for runtime execution

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Questions? Suggestions? Found a bug? Please file an issue or start a discussion.

Code generation for Flutter and Dart packages.

See the build_runner package documentation for how to use build_runner builders in your package to add serialization, data classes, data binding, dependency injection, mocking and more.

See the build package documentation to create your own builder.

This repo also hosts the following builders and packages for use by builders.

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.