Search packages, repositories and app categories

Package detailsv5.2.0

grpc

Dart implementation of gRPC, a high performance, open-source universal RPC framework.

AndroidiOSmacOSWindowsLinux
30-day downloads
576K
Likes
465
Pub points
150

Install package

flutter pub add grpc

Package Overview

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

The grpc package provides a Dart implementation of gRPC, enabling high-performance, scalable remote procedure calls across platforms. It supports bidirectional streaming, unary calls, and efficient serialization via Protocol Buffers. Designed for low-latency communication, it's ideal for microservices and real-time applications. The package integrates seamlessly with Flutter and other Dart-based apps on Android, iOS, macOS, Windows, and Linux. It leverages the robust gRPC ecosystem while maintaining Dart’s asynchronous programming model.

Use cases

  • Microservices communication
  • Real-time data synchronization
  • Cross-platform API integration
  • High-performance backend services
  • Mobile app backends

Key features

  • Supports bidirectional streaming
  • Efficient Protocol Buffer serialization
  • Cross-platform compatibility
  • Asynchronous API design
  • Integration with Dart's async/await

Suitable for

  • Developers building scalable APIs
  • Teams using gRPC in backend systems
  • Flutter apps needing fast RPC
  • Real-time or low-latency applications
  • Projects requiring interoperability with gRPC services

Considerations

  • Requires Protocol Buffer definitions
  • Steeper learning curve for new users
  • Dependency on external .proto files
  • Network configuration needed for production
  • Limited built-in error handling compared to REST

Original README

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

Dart pub package

The Dart implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first.

Learn more

For complete documentation, see Dart gRPC.

Supported platforms

Note: grpc-web is supported by package:grpc/grpc_web.dart. UDS-unix domain socket is supported with sdk version >= 2.8.0.

Contributing

If you experience problems or have feature requests, open an issue.

Note that we have limited bandwidth to accept PRs, and that all PRs require signing the EasyCLA.

Categories

Dependencies

Dependency list 10 items

Source repository

Projects using this package

Rankings