FLUTTER ECOSYSTEM

hooks

A library that contains a Dart API for the JSON-based protocol for `hook/build.dart` and `hook/link.dart`.

Latest version
2.2.0
30-day downloads
11.5M
Likes
40
Pub points
160

Package Overview

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

Overview

The hooks package provides a Dart API for interacting with the JSON-based protocol used by `hook/build.dart` and `hook/link.dart`, enabling seamless integration between Dart and other languages like Python and Rust. It facilitates command-line tooling and native code interoperability, particularly in environments where cross-language build and linking processes are required. This package is part of the Dart Native ecosystem, supporting multi-platform development across Android, iOS, macOS, Windows, and Linux.

Use cases
  • Cross-language build integration
  • Native code linking
  • CLI tooling for language interoperability
  • Multi-platform native extensions
  • Build automation with external tools
Key features
  • JSON-based protocol support
  • Dart API for build/link processes
  • Supports Python and Rust integration
  • Multi-platform compatibility
  • Part of Dart Native ecosystem
Suitable for
  • Developers building native extensions
  • Toolchain integrators
  • Cross-language project maintainers
  • CLI tool developers
  • Multi-platform build systems
Considerations
  • Requires understanding of Dart Native protocols
  • Primarily intended for advanced use cases
  • Limited to build-time operations
  • Not for runtime application logic
  • Dependent on Dart Native infrastructure
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add hooks

Categories

Dependencies

Dependency list 6 items

Source repository

Related projects