monarch_grpc 2.3.1 monarch_grpc: ^2.3.1 copied to clipboard
gRPC interfaces for Monarch. Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
monarch_grpc #
Contains gRPC interfaces for the Monarch CLI and the Monarch Controller.
Install gRPC proto buffer compiler #
- Install the Protocol Buffer Compiler.
- For Windows, install the pre-compiled binaries.
- For macOS, you can install the pre-compiled binaries or use a package manager.
- Install the Dart plugin for the protocol compiler:
$ dart pub global activate protoc_plugin
If you need further install instructions the gRPC Dart Quick start.
Regenerate gRPC code #
On macOS:
$ sh tools/gen_grpc.sh
On Windows:
PS> .\tools\gen_grpc.bat
gRPC resources #
- gRPC Dart Reference
- gRPC error details. Link above includes mapping of HTTP status codes to gRPC status codes.
- Protocol Buffers Well-Known Types