Search packages, repositories and app categories

Package detailsv0.0.1

proto_google

Public interface definitions of Google APIs for Dart and gRPC.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
9
Likes
0
Pub points
140

Install package

flutter pub add proto_google

Package Overview

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

A Dart package providing public interface definitions for Google APIs, enabling seamless integration with gRPC services. It offers pre-defined protocol buffer schemas and interfaces that align with Google's API standards, simplifying communication with Google's cloud and developer services. Designed for developers building cross-platform applications requiring structured data exchange, it supports modern development workflows across Android, iOS, Web, macOS, Windows, and Linux. The package is ideal for teams leveraging Google Cloud services or needing standardized API contracts in their Dart projects.

Use cases

  • Integrating with Google Cloud APIs
  • Building gRPC clients in Dart
  • Standardizing API contracts
  • Cross-platform app development
  • Automated code generation from proto files
  • Interfacing with Google's REST and gRPC services

Key features

  • Predefined Google API interface definitions
  • Support for gRPC communication
  • Cross-platform compatibility
  • Protocol buffer schema integration
  • Easy Flutter pub dependency management
  • Alignment with official Google API specifications

Suitable for

  • Dart developers using Google Cloud services
  • Teams implementing gRPC in Flutter apps
  • Projects requiring standardized API contracts
  • Backend service integrations in mobile/web apps
  • Developers working with protobuf-based APIs

Considerations

  • Requires familiarity with gRPC and protocol buffers
  • May need additional tooling for code generation
  • Dependent on external Google API changes
  • Not a full SDK—provides only interface definitions
  • Best used in conjunction with code generation tools like protoc

Original README

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

Introduction

Public interface definitions of Google APIs for Dart and gRPC.

This package is a fork of the protobuf_google package. The original repository can be found here.

Purpose of the Fork

Was not maintained from the last three years and using old protobuf as the dependency

Getting started

In your pubspec.yaml file add:

dependencies:
  proto_google: any

Usage

import 'package:proto_google/proto_google.dart';
  • If you are using the generated files from the .proto file and using any Google Pre-Defined DataTypes. Update the generated .dart as follows
import 'google/protobuf/any.pb.dart' as $0; // Just an example

with

import 'package:proto_google/proto_google.dart' as $0;

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package

No data available yet.