pkl_dart 0.1.0-pre copy "pkl_dart: ^0.1.0-pre" to clipboard
pkl_dart: ^0.1.0-pre copied to clipboard

(Unofficial) Support for Pkl in Dart

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate pkl_dart

Use it

The package has the following executables:

$ pkl-gen-dart

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pkl_dart

With Flutter:

 $ flutter pub add pkl_dart

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

dependencies:
  pkl_dart: ^0.1.0-pre

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:pkl_dart/pkl_dart.dart';
0
likes
130
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

(Unofficial) Support for Pkl in Dart

Homepage

License

MIT (license)

Dependencies

args, code_builder, dart_style, file, glob, logging, path

More

Packages that depend on pkl_dart