clay_core 0.0.1-dev.2
clay_core: ^0.0.1-dev.2 copied to clipboard
Core library for Clay — config loading, reference transforms, template generation, and annotation validation.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add clay_coreWith Flutter:
$ flutter pub add clay_coreThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
clay_core: ^0.0.1-dev.2Alternatively, 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:clay_core/clay.dart';
import 'package:clay_core/config.dart';
import 'package:clay_core/generation.dart';
import 'package:clay_core/preview.dart';
import 'package:clay_core/transforms.dart';
import 'package:clay_core/validation.dart';