|
|
@ -66,7 +66,6 @@ class _DioResponseViewState extends State<DioResponseView> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_buildData() {
|
|
|
|
_buildData() {
|
|
|
|
if (widget.data.data is Map)
|
|
|
|
|
|
|
|
return BoxView(
|
|
|
|
return BoxView(
|
|
|
|
title: Text('Data'),
|
|
|
|
title: Text('Data'),
|
|
|
|
child: HighlightView(
|
|
|
|
child: HighlightView(
|
|
|
@ -75,15 +74,6 @@ class _DioResponseViewState extends State<DioResponseView> {
|
|
|
|
theme: atomOneLightTheme,
|
|
|
|
theme: atomOneLightTheme,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
else
|
|
|
|
|
|
|
|
return BoxView(
|
|
|
|
|
|
|
|
title: Text('Raw'),
|
|
|
|
|
|
|
|
child: HighlightView(
|
|
|
|
|
|
|
|
widget.data.data,
|
|
|
|
|
|
|
|
language: 'html',
|
|
|
|
|
|
|
|
theme: atomOneLightTheme,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_buildRawData() {
|
|
|
|
_buildRawData() {
|
|
|
|