bump flutter (#859)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-05-16 23:05:02 +08:00
committed by GitHub
parent cf0bf1e587
commit 7ae92970ef
96 changed files with 604 additions and 521 deletions

View File

@@ -118,7 +118,8 @@ class _ColorSelectPageState extends State<ColorSelectPage> {
height: 1,
fontSize: 13,
color: ctr.type.value == 0
? theme.colorScheme.outline.withOpacity(0.8)
? theme.colorScheme.outline
.withValues(alpha: 0.8)
: theme.colorScheme.secondary,
),
strutStyle: const StrutStyle(leading: 0, height: 1),
@@ -127,7 +128,8 @@ class _ColorSelectPageState extends State<ColorSelectPage> {
size: 20,
Icons.keyboard_arrow_right,
color: ctr.type.value == 0
? theme.colorScheme.outline.withOpacity(0.8)
? theme.colorScheme.outline
.withValues(alpha: 0.8)
: theme.colorScheme.secondary,
)
],
@@ -201,14 +203,14 @@ class _ColorSelectPageState extends State<ColorSelectPage> {
width: 46,
height: 46,
decoration: BoxDecoration(
color: e['color'].withOpacity(0.8),
color: e['color'].withValues(alpha: 0.8),
borderRadius: const BorderRadius.all(
Radius.circular(50)),
border: Border.all(
width: 2,
color: ctr.currentColor.value == index
? Colors.black
: e['color'].withOpacity(0.8),
: e['color'].withValues(alpha: 0.8),
),
),
child: AnimatedOpacity(

View File

@@ -67,7 +67,8 @@ class _FontSizeSelectPageState extends State<FontSizeSelectPage> {
decoration: BoxDecoration(
border: Border(
top: BorderSide(
color: theme.colorScheme.primary.withOpacity(0.3))),
color:
theme.colorScheme.primary.withValues(alpha: 0.3))),
color: theme.colorScheme.surface,
),
child: Row(

View File

@@ -21,8 +21,8 @@ class RecommendSetting extends StatelessWidget {
'* 其它(如热门视频、手动搜索、链接跳转等)均不受过滤器影响。\n'
'* 设定较严苛的条件可导致推荐项数锐减或多次请求,请酌情选择。\n'
'* 后续可能会增加更多过滤条件,敬请期待。',
style: theme.textTheme.labelSmall!
.copyWith(color: theme.colorScheme.outline.withOpacity(0.7)),
style: theme.textTheme.labelSmall!.copyWith(
color: theme.colorScheme.outline.withValues(alpha: 0.7)),
),
),
SizedBox(height: MediaQuery.paddingOf(context).bottom + 80),

View File

@@ -127,7 +127,7 @@ class _SettingPageState extends State<SettingPage> {
),
VerticalDivider(
width: 1,
color: theme.colorScheme.outline.withOpacity(0.1),
color: theme.colorScheme.outline.withValues(alpha: 0.1),
),
Expanded(
flex: 6,