pigeon_ohos 11.0.1-ohos copy "pigeon_ohos: ^11.0.1-ohos" to clipboard
pigeon_ohos: ^11.0.1-ohos copied to clipboard

Code generator tool to make communication between Flutter and the host platform type-safe and easier.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pigeon_ohos

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pigeon_ohos: ^11.0.1-ohos

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pigeon_ohos/arkts_generator.dart';
import 'package:pigeon_ohos/ast.dart';
import 'package:pigeon_ohos/ast_generator.dart';
import 'package:pigeon_ohos/cpp_generator.dart';
import 'package:pigeon_ohos/dart_generator.dart';
import 'package:pigeon_ohos/functional.dart';
import 'package:pigeon_ohos/generator.dart';
import 'package:pigeon_ohos/generator_tools.dart';
import 'package:pigeon_ohos/java_generator.dart';
import 'package:pigeon_ohos/kotlin_generator.dart';
import 'package:pigeon_ohos/objc_generator.dart';
import 'package:pigeon_ohos/pigeon.dart';
import 'package:pigeon_ohos/pigeon_cl.dart';
import 'package:pigeon_ohos/pigeon_lib.dart';
import 'package:pigeon_ohos/swift_generator.dart';
0
likes
120
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator tool to make communication between Flutter and the host platform type-safe and easier.

Repository (GitHub)
View/report issues

Topics

#codegen #interop #platform-channels #plugin-development

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, collection, meta, path, yaml

More

Packages that depend on pigeon_ohos