@@ -487,8 +487,7 @@ class AssetPicker extends StatelessWidget {
487
487
/// 路径选择列表组件
488
488
Widget get pathEntityListWidget {
489
489
final double appBarHeight = kToolbarHeight + Screens .topSafeHeight;
490
- final double maxHeight =
491
- isAppleOS ? Screens .height - appBarHeight : Screens .height * 0.825 ;
490
+ final double maxHeight = Screens .height * 0.825 ;
492
491
return Selector <AssetPickerProvider , bool >(
493
492
selector: (BuildContext _, AssetPickerProvider provider) =>
494
493
provider.isSwitchingPath,
@@ -506,7 +505,13 @@ class AssetPicker extends StatelessWidget {
506
505
child: Container (
507
506
width: Screens .width,
508
507
height: maxHeight,
509
- decoration: BoxDecoration (color: theme.colorScheme.background),
508
+ decoration: BoxDecoration (
509
+ borderRadius: isAppleOS ? const BorderRadius .only (
510
+ bottomLeft: Radius .circular (10.0 ),
511
+ bottomRight: Radius .circular (10.0 ),
512
+ ) : null ,
513
+ color: theme.colorScheme.background,
514
+ ),
510
515
child: Selector <AssetPickerProvider ,
511
516
Map <AssetPathEntity , Uint8List >>(
512
517
selector: (BuildContext _, AssetPickerProvider provider) =>
@@ -1263,6 +1268,7 @@ class AssetPicker extends StatelessWidget {
1263
1268
],
1264
1269
),
1265
1270
),
1271
+ pathEntityListBackdrop,
1266
1272
pathEntityListWidget,
1267
1273
],
1268
1274
)
0 commit comments