jinja_minimal 1.0.0
jinja_minimal: ^1.0.0 copied to clipboard
A minimalistic pure Dart implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('jinja_minimal'),
),
),
);
}
}