renderUnsafe method

Future<String> renderUnsafe(
  1. String viewName, {
  2. Map<String, dynamic> context = const {},
})

Renders a view without escaping (use with caution!)

Implementation

Future<String> renderUnsafe(
  String viewName, {
  Map<String, dynamic> context = const {},
}) async {
  return render(viewName, context: context, escapeOutput: false);
}