mod: color alpha

`withOpacity` -> `withValues`

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-19 20:21:01 +08:00
parent 45b4f9570b
commit a7ffc3b05f
62 changed files with 193 additions and 164 deletions

View File

@@ -296,7 +296,7 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
thickness: 8,
color: Theme.of(context)
.dividerColor
.withOpacity(0.05),
.withValues(alpha: 0.05),
),
),
),
@@ -318,8 +318,9 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
if (orientation == Orientation.landscape) ...[
VerticalDivider(
thickness: 8,
color:
Theme.of(context).dividerColor.withOpacity(0.05)),
color: Theme.of(context)
.dividerColor
.withValues(alpha: 0.05)),
Expanded(
flex: _ratio[1].toInt(),
child: CustomScrollView(