diff --git a/lib/src/builders/dio_error_builder.dart b/lib/src/builders/dio_error_builder.dart index 1df314a..f1342f0 100644 --- a/lib/src/builders/dio_error_builder.dart +++ b/lib/src/builders/dio_error_builder.dart @@ -18,8 +18,19 @@ class _DioErrorBuilderState extends State { 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: [ diff --git a/lib/src/builders/dio_responses_builder.dart b/lib/src/builders/dio_responses_builder.dart index 488a76c..3f10c9f 100644 --- a/lib/src/builders/dio_responses_builder.dart +++ b/lib/src/builders/dio_responses_builder.dart @@ -23,7 +23,12 @@ class _DioResponseBuilderState extends State { 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: [ diff --git a/lib/src/view/box_view.dart b/lib/src/view/box_view.dart index 2ecbba5..ab3110a 100644 --- a/lib/src/view/box_view.dart +++ b/lib/src/view/box_view.dart @@ -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(