auto_interop_generator 0.2.5 copy "auto_interop_generator: ^0.2.5" to clipboard
auto_interop_generator: ^0.2.5 copied to clipboard

Code generator for auto_interop — auto-generates type-safe Dart bindings from native package APIs (npm, CocoaPods, Gradle).

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate auto_interop_generator

Use it

The package has the following executables:

$ ag
$ generate

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add auto_interop_generator

With Flutter:

 $ flutter pub add auto_interop_generator

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

dependencies:
  auto_interop_generator: ^0.2.5

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

Import it

Now in your Dart code, you can use:

import 'package:auto_interop_generator/auto_interop_generator.dart';
1
likes
150
points
336
downloads

Publisher

verified publisherflutterplaza.com

Weekly Downloads

Code generator for auto_interop — auto-generates type-safe Dart bindings from native package APIs (npm, CocoaPods, Gradle).

Repository (GitHub)
View/report issues

Topics

#flutter #codegen #build-runner #native #bindings

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

build, code_builder, crypto, dart_style, json_annotation, path, source_gen, yaml

More

Packages that depend on auto_interop_generator