Skip to content

Commit

Permalink
fix overflow with items title on a spare galaxy s4 that resolved to c…
Browse files Browse the repository at this point in the history
…harge today

Signed-off-by: lucasew <lucas59356@gmail.com>
  • Loading branch information
lucasew committed Mar 11, 2021
1 parent b512735 commit 15d2f38
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions lib/view/ArquivoWidget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ class ArquivoWidget extends StatelessWidget {
"${d.day}.${d.month}.${d.year} ${d.hour}:${d.minute < 10 ? '0' : ''}${d.minute}";
var tamanho = "${(this.arquivo.tamanho / 1000000).round()} MB";
var elemento = ListTile(
title: Row(children: <Widget>[
Icon(arquivo.isUltimo ? Icons.warning : Icons.history, size: 36),
Text(texto, style: TextStyle(fontSize: 36) // TextStyle
), // Text
]), // Row
title: FittedBox(child:
Row(children: <Widget>[
Icon(arquivo.isUltimo ? Icons.warning : Icons.history, size: 36),
Text(
texto,
style: TextStyle(fontSize: 36), // TextStyle
), // Text
]), // Row
), // FittedBox
subtitle: Row(children: <Widget>[
Icon(Icons.sd_card, size: 36),
Text(tamanho, style: TextStyle(fontSize: 28) // TextStyle
Text(
tamanho,
style: TextStyle(fontSize: 28), // TextStyle
) // Text
]) // Row
], ) // Row
); // ListTile
return Center(
child: Dismissible(
Expand Down

0 comments on commit 15d2f38

Please sign in to comment.