app_intents_codegen 0.1.0 copy "app_intents_codegen: ^0.1.0" to clipboard
app_intents_codegen: ^0.1.0 copied to clipboard

Code generator for Flutter AppIntents. Produces Swift and Dart code from @IntentSpec and @EntitySpec annotations.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate app_intents_codegen

Use it

The package has the following executables:

$ generate_swift

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add app_intents_codegen

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

dependencies:
  app_intents_codegen: ^0.1.0

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:app_intents_codegen/app_intents_codegen.dart';
0
likes
140
points
109
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for Flutter AppIntents. Produces Swift and Dart code from @IntentSpec and @EntitySpec annotations.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, app_intents_annotations, args, build, code_builder, dart_style, glob, path, source_gen

More

Packages that depend on app_intents_codegen