mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-01-31 13:25:10 +01:00
chore: migrate to flutter 3.27
This commit is contained in:
@@ -515,10 +515,6 @@ class _ServerPageState extends State<ServerPage>
|
||||
const Icon(MingCute.unlink_2_line, size: 17, color: Colors.grey),
|
||||
() => ServerProvider.closeServer(id: s.spi.id),
|
||||
),
|
||||
_ when Stores.setting.serverTabUseOldUI.fetch() => (
|
||||
ServerFuncBtnsTopRight(spi: s.spi),
|
||||
null,
|
||||
),
|
||||
};
|
||||
|
||||
// Or the loading icon will be rescaled.
|
||||
|
||||
@@ -424,7 +424,7 @@ final class _AppSettingsPageState extends State<AppSettingsPage> {
|
||||
return;
|
||||
}
|
||||
UIs.colorSeed = color;
|
||||
_setting.colorSeed.put(color.value);
|
||||
_setting.colorSeed.put(color.value255);
|
||||
context.pop();
|
||||
Future.delayed(Durations.medium1, RNodes.app.notify);
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ final class _SystemdPageState extends State<SystemdPage> {
|
||||
Widget _buildTag(String tag, [Color? color, bool noPad = false]) {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: color?.withOpacity(0.7) ?? UIs.halfAlpha,
|
||||
color: color?.withValues(alpha: 0.7) ?? UIs.halfAlpha,
|
||||
borderRadius: BorderRadius.circular(5),
|
||||
),
|
||||
child: Text(tag, style: UIs.text11)
|
||||
|
||||
Reference in New Issue
Block a user