Browse Source

1.适配flutterSDK1.22.0

tags/0.0.5
“yanghuaxuan” 3 years ago
parent
commit
d27ecfcedc
3 changed files with 1 additions and 19 deletions
  1. +1
    -1
      example/ios/Runner/AppDelegate.m
  2. +0
    -9
      lib/widgets/goods_details/detail_img/goods_details_img.dart
  3. +0
    -9
      lib/widgets/goods_details/slide_banner/goods_details_slide_banner_widget.dart

+ 1
- 1
example/ios/Runner/AppDelegate.m View File

@@ -29,7 +29,7 @@
- (NSDictionary*)getSetting {
return @{
@"domain": @"http://inapi.izhyin.cn",
@"master_id": @"template_database",
@"master_id": @"123456",
@"secret_key": @"123456"
//@"domain": @"http://192.168.0.113:5000"
};


+ 0
- 9
lib/widgets/goods_details/detail_img/goods_details_img.dart View File

@@ -113,15 +113,6 @@ class _GoodsDetailsImgWidgetContainerState extends State<GoodsDetailsImgWidgetCo
),
);
},
progressIndicatorBuilder: (context, url, progress) {
return AspectRatio(
aspectRatio: 1 / 1,
child: shimmerWidget(
height: double.infinity,
width: double.infinity,
),
);
},
errorWidget: (BuildContext context, String url, dynamic error) {
return Container();
},


+ 0
- 9
lib/widgets/goods_details/slide_banner/goods_details_slide_banner_widget.dart View File

@@ -133,15 +133,6 @@ class _GoodsDetailsSlideBannerContainerState
),
);
},
progressIndicatorBuilder: (context, url, progress) {
return AspectRatio(
aspectRatio: 1 / 1,
child: shimmerWidget(
height: double.infinity,
width: double.infinity,
),
);
},
imageUrl: items ?? '', fit: BoxFit.fitWidth)),
);
},


Loading…
Cancel
Save