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