# codegen
**Repository Path**: main_51/codegen
## Basic Information
- **Project Name**: codegen
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-02-25
- **Last Updated**: 2025-02-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# codegen
[![NPM Version][npm-image]][npm-url]
[](https://travis-ci.org/dart-native/codegen)
Generate Dart bindings from native code. It's based on [dart_native](https://pub.dev/packages/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. Here's how it works:

## Installation
``` bash
$ npm install -g @dartnative/codegen
```
## Requirement
``` json
"node": ">=14"
```
## Usage
```
Usage: codegen [options]
Generate dart code from native API.
Options:
-V, --version output the version number
-l, --language [objc, java, auto(default)] (default: "auto")
-o, --output