Browse Source

尺寸更改

zyh
w-R 3 years ago
parent
commit
1545acbf8b
  1. 2
      lib/home/points_mall_view/points_goods_view.dart
  2. 2
      lib/home/welfare_exchange.dart
  3. 2
      lib/home/welfare_page.dart
  4. 2
      pubspec.yaml

2
lib/home/points_mall_view/points_goods_view.dart

@ -67,7 +67,7 @@ class _PointGoods extends State<PointGoods> {
mainAxisSpacing: 16.w,
//Widget宽高比例 0.59
childAspectRatio:
200 / (266 / 2 + (266 / 2) * AppUtils.textScale(context)),
200 / (285 / 2 + (285 / 2) * AppUtils.textScale(context)),
),
itemBuilder: (context, index) {
return GestureDetector(

2
lib/home/welfare_exchange.dart

@ -467,7 +467,7 @@ class _WelfareExchange extends State<WelfareExchange> {
mainAxisSpacing: 16.w,
//Widget宽高比例 0.59
childAspectRatio:
200 / (266 / 2 + (266 / 2) * AppUtils.textScale(context)),
200 / (285 / 2 + (285 / 2) * AppUtils.textScale(context)),
),
itemBuilder: (context, index) {
return GestureDetector(

2
lib/home/welfare_page.dart

@ -783,7 +783,7 @@ class _WelfarePage extends State<WelfarePage> {
mainAxisSpacing: 16.w,
//Widget宽高比例 0.59
childAspectRatio:
200 / (266 / 2 + (266 / 2) * AppUtils.textScale(context)),
200 / (285 / 2 + (285 / 2) * AppUtils.textScale(context)),
),
itemBuilder: (context, index) {
return GestureDetector(

2
pubspec.yaml

@ -3,7 +3,7 @@ description: 一心回乡.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 2.0.9+8
version: 2.0.12+9
environment:
sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save