全改成深色模式

master
章文轩 3 years ago
parent 1cf9314b6c
commit 17c2662eb1

@ -95,7 +95,7 @@ class _DioResponseViewState extends State<DioResponseView> {
child: HighlightView( child: HighlightView(
json, json,
language: 'json', language: 'json',
theme: atomOneLightTheme, theme: atomOneDarkTheme,
), ),
); );
} }
@ -104,7 +104,7 @@ class _DioResponseViewState extends State<DioResponseView> {
child: HighlightView( child: HighlightView(
prettyJson(widget.data!.data), prettyJson(widget.data!.data),
language: 'json', language: 'json',
theme: atomOneLightTheme, theme: atomOneDarkTheme,
), ),
); );
case ContentType.IMAGE: case ContentType.IMAGE:
@ -121,7 +121,7 @@ class _DioResponseViewState extends State<DioResponseView> {
child: HighlightView( child: HighlightView(
prettyJson(widget.data!.data), prettyJson(widget.data!.data),
language: 'json', language: 'json',
theme: atomOneLightTheme, theme: atomOneDarkTheme,
), ),
); );
} }

Loading…
Cancel
Save