@@ -17,7 +17,7 @@ import 'package:url_launcher/url_launcher.dart';
1717// 众人将与一人离别,惟其人将觐见奇迹
1818
1919// 「在彩虹桥的尽头,天空之子将缝补晨昏」
20- final version = "v3.0.0d1rel " ;
20+ final version = "v3.0.0fin " ;
2121final codename = "Hyacine" ;
2222Future <void > main () async {
2323 WidgetsFlutterBinding .ensureInitialized ();
@@ -342,16 +342,16 @@ class CustomTitleBar extends StatelessWidget {
342342 decoration: BoxDecoration (
343343 gradient: LinearGradient (
344344 colors: [
345- colorScheme.surfaceContainerHighest.withOpacity ( 0.95 ),
346- colorScheme.primary.withOpacity ( 0.08 ),
345+ colorScheme.surfaceContainerHighest.withValues (alpha : 0.95 ),
346+ colorScheme.primary.withValues (alpha : 0.08 ),
347347 ],
348348 begin: Alignment .topLeft,
349349 end: Alignment .bottomRight,
350350 ),
351351 border: Border (bottom: BorderSide (color: colorScheme.outlineVariant, width: 1 )),
352352 boxShadow: [
353353 BoxShadow (
354- color: colorScheme.shadow.withOpacity ( 0.08 ),
354+ color: colorScheme.shadow.withValues (alpha : 0.08 ),
355355 blurRadius: 8 ,
356356 offset: Offset (0 , 2 ),
357357 ),
@@ -446,7 +446,7 @@ class _TitleBarButtonState extends State<_TitleBarButton> {
446446 margin: EdgeInsets .symmetric (horizontal: 2 ),
447447 decoration: BoxDecoration (
448448 color: _hovering
449- ? (widget.hoverColor ?? Theme .of (context).colorScheme.primary.withOpacity ( 0.08 ))
449+ ? (widget.hoverColor ?? Theme .of (context).colorScheme.primary.. withValues (alpha : 0.08 ))
450450 : Colors .transparent,
451451 borderRadius: BorderRadius .circular (6 ),
452452 ),
0 commit comments