feat: use interactiveviewer gallery

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-12 11:10:57 +08:00
parent 22f668245d
commit 5d8b42a928
85 changed files with 2966 additions and 1171 deletions

View File

@@ -50,7 +50,7 @@ class _WebviewPageNewState extends State<WebviewPageNew> {
title: StreamBuilder(
initialData: null,
stream: _titleStream.stream,
builder: (_, snapshot) => Text(
builder: (context, snapshot) => Text(
maxLines: 1,
snapshot.hasData ? snapshot.data! : _url,
overflow: TextOverflow.ellipsis,
@@ -61,7 +61,7 @@ class _WebviewPageNewState extends State<WebviewPageNew> {
child: StreamBuilder(
initialData: 0.0,
stream: _progressStream.stream,
builder: (_, snapshot) => snapshot.data as double < 1
builder: (context, snapshot) => snapshot.data as double < 1
? LinearProgressIndicator(
value: snapshot.data as double,
)