Clip long maker strings

This commit is contained in:
vishnukvmd 2021-07-23 15:45:54 +05:30
parent a7b333b659
commit fc3079b30c
2 changed files with 10 additions and 7 deletions

View file

@ -68,7 +68,7 @@ class _ExifInfoDialogState extends State<ExifInfoDialog> {
data,
style: TextStyle(
fontSize: 14,
fontFeatures: [
fontFeatures: const [
FontFeature.tabularFigures(),
],
height: 1.4,

View file

@ -351,12 +351,15 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
color: Colors.white.withOpacity(0.85),
),
Padding(padding: EdgeInsets.all(4)),
Text(
exif["Image Make"].toString() +
" " +
exif["Image Model"].toString(),
style: TextStyle(
color: Colors.white.withOpacity(0.85),
Flexible(
child: Text(
exif["Image Make"].toString() +
" " +
exif["Image Model"].toString(),
style: TextStyle(
color: Colors.white.withOpacity(0.85),
),
overflow: TextOverflow.clip,
),
),
],