Skip to content

dart-native/codegen

Repository files navigation

codegen

NPM Version Build Status

Generate Dart bindings from native code. It's based on dart_native.

You can use codegen to convert native SDK into Flutter SDK. Such as Login SDK:

Codegen is a part of DartNative. It's the cyan part(DartNative Codegen) in the picture below:

It's still under development.

Installation

$ npm install -g @dartnative/codegen 

Usage

Usage: codegen [options] <input> Generate dart code from native API. Options: -V, --version output the version number -l, --language <language> [objc, java, auto(default)] -o, --output <output> Output directory -p, --package <package> Generate a shareable Flutter project containing modular Dart code. -h, --help display help for command 

License

BSD 3-Clause License.

About

Generator for dart_native bindings. Codegen can transform native SDK to Flutter plugin.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •