darto_view 1.0.2
darto_view: ^1.0.2 copied to clipboard
Template engine plugin for Darto. Configures views path and engine, enabling c.render() in route handlers.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add darto_viewWith Flutter:
$ flutter pub add darto_viewThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
darto_view: ^1.0.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:darto_view/darto_view.dart';