sendHtml method

  1. @override
Future sendHtml(
  1. String path
)
override

Implementation

@override
Future sendHtml(String path) {
  // this headers are not working
  response!.header('Content-Type', 'text/html; charset=UTF-8');
  return response!.sendFile(path);
}