|
@@ -207,7 +207,7 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
|
|
],
|
|
],
|
|
),
|
|
),
|
|
)
|
|
)
|
|
- : const SizedBox.shrink(),
|
|
|
|
|
|
+ : null,
|
|
SizedBox(
|
|
SizedBox(
|
|
height: 62,
|
|
height: 62,
|
|
child: ListTile(
|
|
child: ListTile(
|
|
@@ -243,12 +243,14 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
|
|
),
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
- : const SizedBox.shrink(),
|
|
|
|
- _isImage
|
|
|
|
- ? RawExifListTileWidget(_exif, widget.file)
|
|
|
|
- : const SizedBox.shrink(),
|
|
|
|
|
|
+ : null,
|
|
|
|
+ _isImage ? RawExifListTileWidget(_exif, widget.file) : null,
|
|
];
|
|
];
|
|
|
|
|
|
|
|
+ listTiles.removeWhere(
|
|
|
|
+ (element) => element == null,
|
|
|
|
+ );
|
|
|
|
+
|
|
return SafeArea(
|
|
return SafeArea(
|
|
top: false,
|
|
top: false,
|
|
child: Padding(
|
|
child: Padding(
|