主页面字体颜色调整

master
章文轩 3 years ago
parent 36b8013275
commit 72ce5742be

@ -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),),
),
],
),

@ -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),),
),
],
),

@ -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,

@ -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),),
),
),
);

@ -71,7 +71,7 @@ class _InfoViewState extends State<InfoView>
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<InfoView>
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),
),
])),

@ -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));

@ -14,7 +14,7 @@ class _SettingsViewState extends State<SettingsView> {
return ListView(
children: [
SwitchListTile(
title: Text('终端日志'),
title: Text('终端日志',style: TextStyle(fontSize: 16,color: Colors.black),),
subtitle: Text(''),
value: LoggerData.markLogger,
onChanged: (state) {

Loading…
Cancel
Save