template 0.0.2
template: ^0.0.2 copied to clipboard
Template is a templaing engine that performs text replacement on binary data streams from given file/s in accordance to language conventions and text to replace that has been defined in a data map.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add template
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
template: ^0.0.2
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:template/template.dart';