highlight json

master
小赖 4 years ago
parent 4a0243d327
commit 00b87a55b9

@ -60,7 +60,7 @@ class _DioResponseViewState extends State<DioResponseView> {
return BoxView( return BoxView(
title: Text('Params'), title: Text('Params'),
child: HighlightView( child: HighlightView(
prettyJson(jsonEncode(widget.data.data)), widget.data.data.toString(),
language: 'json', language: 'json',
theme: githubTheme, theme: githubTheme,
), ),

Loading…
Cancel
Save