edart 0.1.9 edart: ^0.1.9 copied to clipboard
Embedded Dart template engine and compiler. Compiles templates to Dart source code.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add edart
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
edart: ^0.1.9
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:edart/edart_builder.dart';
import 'package:edart/edart_compiler.dart';
import 'package:edart/edart_parser.dart';
import 'package:edart/fragment.dart';