1
This commit is contained in:
parent
97bd269d51
commit
a77fb829c8
@ -59,18 +59,13 @@ class RecommendView extends GetView<RecommendController> {
|
|||||||
? Image.asset(
|
? Image.asset(
|
||||||
Assets.imagesRecommendTopBackground,
|
Assets.imagesRecommendTopBackground,
|
||||||
)
|
)
|
||||||
: PhotoView(
|
: ImageNetworkWidget(
|
||||||
enableRotation: false,
|
url:
|
||||||
imageProvider: CachedNetworkImageProvider(controller
|
controller.banners[controller.index.value].imageUrl,
|
||||||
.banners[controller.index.value].imageUrl),
|
radius: 30.r,
|
||||||
initialScale: PhotoViewComputedScale.covered,
|
width: 300.w,
|
||||||
minScale: PhotoViewComputedScale.contained * 0.5,
|
height: 500.w,
|
||||||
maxScale: PhotoViewComputedScale.covered * 3,
|
fit: BoxFit.cover,
|
||||||
loadingBuilder: (context, event) =>
|
|
||||||
loadingViewV1(color: Colors.white),
|
|
||||||
errorBuilder: (BuildContext context, Object error,
|
|
||||||
StackTrace? stackTrace) =>
|
|
||||||
errorView,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user