show img size

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-16 17:23:09 +08:00
parent 0c60800b36
commit 88b7f82406
22 changed files with 122 additions and 38 deletions

View File

@@ -98,6 +98,7 @@ Widget content(
height: item.height,
url: item.url ?? '',
liveUrl: item.liveUrl,
size: item.size,
),
)
.toList(),

View File

@@ -278,6 +278,7 @@ TextSpan? richNode(
url: item.src ?? '',
width: item.width,
height: item.height,
size: item.size,
),
)
.toList(),
@@ -294,7 +295,9 @@ TextSpan? richNode(
void onView(List<OpusPicModel> list) {
PageUtils.imageView(
imgList: list
.map((e) => SourceModel(url: e.src!))
.map(
(e) => SourceModel(url: e.src!, size: e.size),
)
.toList(),
);
}