diff --git a/lib/src/builders/dio_error_builder.dart b/lib/src/builders/dio_error_builder.dart index 63ec106..b59827b 100644 --- a/lib/src/builders/dio_error_builder.dart +++ b/lib/src/builders/dio_error_builder.dart @@ -21,14 +21,14 @@ class DioErrorBuilder extends StatelessWidget { ), ); }, - title: Text(data.requestOptions.path), - subtitle: Text('${data.message}\n$date'), + title: Text(data.requestOptions.path,style: TextStyle(fontSize: 16,color: Color(0xFF333333)),), + subtitle: Text('${data.message}\n$date',style: TextStyle(fontSize: 14,color: Color(0xFF666666)),), trailing: Row( mainAxisSize: MainAxisSize.min, children: [ Chip( backgroundColor: Colors.blue.withOpacity(0.4), - label: Text(data.requestOptions.method), + label: Text(data.requestOptions.method,style: TextStyle(fontSize: 14,color: Colors.black),), ), ], ), diff --git a/lib/src/builders/dio_responses_builder.dart b/lib/src/builders/dio_responses_builder.dart index e3988d2..4850d26 100644 --- a/lib/src/builders/dio_responses_builder.dart +++ b/lib/src/builders/dio_responses_builder.dart @@ -18,14 +18,14 @@ class DioResponseBuilder extends StatelessWidget { builder: (context) => DioResponseView(data: data), ), ), - title: Text(data.requestOptions.path), - subtitle: Text(date.toString()), + title: Text(data.requestOptions.path,style: TextStyle(fontSize: 16,color: Color(0xFF333333)),), + subtitle: Text(date.toString(),style: TextStyle(fontSize: 14,color: Color(0xFF666666)),), trailing: Row( mainAxisSize: MainAxisSize.min, children: [ Chip( backgroundColor: Colors.blue.withOpacity(0.8), - label: Text(data.requestOptions.method), + label: Text(data.requestOptions.method,style: TextStyle(fontSize: 14,color: Colors.black),), ), ], ), diff --git a/lib/src/builders/flutter_error_builder.dart b/lib/src/builders/flutter_error_builder.dart index fe77d00..ef89e3a 100644 --- a/lib/src/builders/flutter_error_builder.dart +++ b/lib/src/builders/flutter_error_builder.dart @@ -9,8 +9,8 @@ class FlutterErrorBuilder extends StatelessWidget { Widget build(BuildContext context) { return ListTile( tileColor: Colors.red.withOpacity(0.4), - title: Text(details.exception.toString()), - trailing: Chip(label: Text('EXCEPTION'), backgroundColor: Colors.red), + title: Text(details.exception.toString(),style: TextStyle(fontSize: 14,color: Colors.black),), + trailing: Chip(label: Text('EXCEPTION',style: TextStyle(fontSize: 14,color: Colors.black),), backgroundColor: Colors.red), onTap: () { Navigator.push( context, diff --git a/lib/src/parser/unfocus_parser.dart b/lib/src/parser/unfocus_parser.dart index 4e85a7a..62b5710 100644 --- a/lib/src/parser/unfocus_parser.dart +++ b/lib/src/parser/unfocus_parser.dart @@ -17,16 +17,16 @@ class UnfocusParser extends StatelessWidget { MaterialPageRoute( builder: (context) => Scaffold( appBar: AppBar(title: Text(data.runtimeType.toString())), - body: Text(data.toString()), + body: Text(data.toString(),style: TextStyle(fontSize: 16,color: Colors.black),), ), ), ), title: Text( data.toString(), - maxLines: 1, + maxLines: 1, style: TextStyle(fontSize: 16,color: Colors.black), ), trailing: Chip( - label: Text(tag ?? data.runtimeType.toString()), + label: Text(tag ?? data.runtimeType.toString(),style: TextStyle(fontSize: 16,color: Colors.black),), ), ), ); diff --git a/lib/src/views/info_view.dart b/lib/src/views/info_view.dart index ecf3a8a..b52528d 100644 --- a/lib/src/views/info_view.dart +++ b/lib/src/views/info_view.dart @@ -71,7 +71,7 @@ class _InfoViewState extends State SliverList( delegate: SliverChildListDelegate([ ListTile( - title: Text('Package Info'), + title: Text('Package Info',style: TextStyle(fontSize: 18,color: Color(0xff333333))), tileColor: Colors.blue.withOpacity(0.2), ), InfoTile(title: 'appName', subTitle: packageInfo!.appName), @@ -81,7 +81,7 @@ class _InfoViewState extends State title: 'packageName', subTitle: packageInfo!.packageName), InfoTile(title: 'version', subTitle: packageInfo!.version), ListTile( - title: Text('Device Info'), + title: Text('Device Info',style: TextStyle(fontSize: 18,color: Color(0xff333333))), tileColor: Colors.blue.withOpacity(0.1), ), ])), diff --git a/lib/src/views/platform_specific/info_tile.dart b/lib/src/views/platform_specific/info_tile.dart index c1d1251..03df336 100644 --- a/lib/src/views/platform_specific/info_tile.dart +++ b/lib/src/views/platform_specific/info_tile.dart @@ -15,8 +15,8 @@ class InfoTile extends StatelessWidget { @override Widget build(BuildContext context) { return ListTile( - title: Text(title), - subtitle: Text(subTitle), + title: Text(title,style: TextStyle(fontSize: 14,color: Color(0xff333333)),), + subtitle: Text(subTitle,style: TextStyle(fontSize: 14,color: Color(0xff666666))), onLongPress: () async { ScaffoldMessenger.of(context).hideCurrentSnackBar(); Clipboard.setData(ClipboardData(text: subTitle)); diff --git a/lib/src/views/settings_view.dart b/lib/src/views/settings_view.dart index 0e60455..eb0c58c 100644 --- a/lib/src/views/settings_view.dart +++ b/lib/src/views/settings_view.dart @@ -14,7 +14,7 @@ class _SettingsViewState extends State { return ListView( children: [ SwitchListTile( - title: Text('终端日志'), + title: Text('终端日志',style: TextStyle(fontSize: 16,color: Colors.black),), subtitle: Text(''), value: LoggerData.markLogger, onChanged: (state) {