migrate Flutter 3.7.0

This commit is contained in:
lollipopkit
2023-01-26 14:37:52 +08:00
parent 9c8f9c3b9f
commit 0ecc321115
15 changed files with 339 additions and 228 deletions

View File

@@ -124,7 +124,7 @@ class _ServerPageState extends State<ServerPage>
final hasError =
cs == ServerConnectionState.failed && ss.failedInfo != null;
final style = TextStyle(
color: _theme.textTheme.bodyText1!.color!.withAlpha(100), fontSize: 11);
color: _theme.textTheme.bodyLarge!.color!.withAlpha(100), fontSize: 11);
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
@@ -279,7 +279,7 @@ class _ServerPageState extends State<ServerPage>
Widget _buildIOData(String up, String down) {
final statusTextStyle = TextStyle(
fontSize: 9, color: _theme.textTheme.bodyText1!.color!.withAlpha(177));
fontSize: 9, color: _theme.textTheme.bodyLarge!.color!.withAlpha(177));
return SizedBox(
width: _media.size.width * 0.2,
child: Column(