Skip to content

Commit 3bccdf9

Browse files
authored
🎨 Improve audio item layout (#221)
🎨 Improve audio item layout
1 parent 5b39fb6 commit 3bccdf9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/src/delegates/asset_picker_builder_delegate.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,12 +1168,15 @@ class DefaultAssetPickerBuilderDelegate
11681168
child: ScaleText(
11691169
asset.title ?? '',
11701170
style: const TextStyle(fontSize: 16),
1171-
maxLines: 1,
1171+
maxLines: 3,
11721172
overflow: TextOverflow.ellipsis,
11731173
),
11741174
),
11751175
),
1176-
const Center(child: Icon(Icons.audiotrack)),
1176+
const Align(
1177+
alignment: AlignmentDirectional(0.9, 0.8),
1178+
child: Icon(Icons.audiotrack),
1179+
),
11771180
audioIndicator(context, asset),
11781181
],
11791182
);

0 commit comments

Comments
 (0)