Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-30 13:53:37 +08:00
parent b5b15dbed6
commit c4c0852dea
105 changed files with 2063 additions and 1360 deletions

View File

@@ -413,25 +413,6 @@ abstract final class PageUtils {
}
}
static void onHorizontalPreviewState(
ScaffoldState state,
List<SourceModel> imgList,
int index,
) {
state.showBottomSheet(
constraints: const BoxConstraints(),
(context) => GalleryViewer(
sources: imgList,
initIndex: index,
quality: GlobalData().imgQuality,
),
enableDrag: false,
elevation: 0.0,
backgroundColor: Colors.transparent,
sheetAnimationStyle: AnimationStyle.noAnimation,
);
}
static void inAppWebview(
String url, {
bool off = false,