update UI color

master
小赖 4 years ago
parent 74c57d7741
commit c972545147

@ -18,8 +18,19 @@ class _DioErrorBuilderState extends State<DioErrorBuilder> {
color: Colors.red.withOpacity(0.1),
child: ListTile(
onTap: () {},
title: Text(_request.path),
subtitle: Text(widget.data.message),
title: Text(
_request.path,
style: TextStyle(
color: Colors.black87,
),
),
subtitle: Text(
widget.data.message,
style: TextStyle(
color: Colors.black45,
fontWeight: FontWeight.w300,
),
),
trailing: Row(
mainAxisSize: MainAxisSize.min,
children: [

@ -23,7 +23,12 @@ class _DioResponseBuilderState extends State<DioResponseBuilder> {
color: Colors.green.withOpacity(0.1),
child: ListTile(
onTap: action,
title: Text(_request.path),
title: Text(
_request.path,
style: TextStyle(
color: Colors.black87,
),
),
trailing: Row(
mainAxisSize: MainAxisSize.min,
children: [

@ -17,6 +17,7 @@ class BoxView extends StatelessWidget {
return Padding(
padding: EdgeInsets.all(5),
child: Material(
color: Colors.white,
borderRadius: BorderRadius.circular(5),
elevation: 4,
child: Padding(

Loading…
Cancel
Save