build: upgrade flutter_highlight

This commit is contained in:
Rongjian Zhang
2019-09-02 18:15:02 +08:00
parent b083c4fadd
commit 49db168f6d
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ class ObjectScreen extends StatelessWidget {
Widget _buildBlob(payload) {
// FIXME:
return Highlight(
return HighlightView(
payload['text'],
language: extname.isEmpty ? 'plaintext' : extname,
theme: githubTheme,