diff --git a/lib/ui/widgets/second_screen/card_terminal_screen.dart b/lib/ui/widgets/second_screen/card_terminal_screen.dart index 5ac32e43cd9743a371f6be8dcbd99fb9a523687e..9f4715bfe0fe45b46ba5d285706c4a9feff21e74 100644 --- a/lib/ui/widgets/second_screen/card_terminal_screen.dart +++ b/lib/ui/widgets/second_screen/card_terminal_screen.dart @@ -58,29 +58,27 @@ class CardTerminalScreen extends StatelessWidget { child: CardTerminalStatus(online: true)), Padding( padding: const EdgeInsets.symmetric(horizontal: 10), - child: Flexible( - child: Text( - amount, - textAlign: TextAlign.right, - style: TextStyle( - fontFamily: 'LCDMono', - color: Colors.white, - fontSize: amount.length < 5 - ? 28 - : amount.length < 10 - ? 20 - : amount.length < 15 - ? 14 - : 12, - shadows: <Shadow>[ - Shadow( - offset: const Offset(1, 1), - blurRadius: 3, - color: Colors.black.withOpacity(0.4), - ), - ], - //softWrap: true, // Agrega esta lÃnea para permitir que el texto se envuelva a la siguiente lÃnea - ), + child: Text( + amount, + textAlign: TextAlign.right, + style: TextStyle( + fontFamily: 'LCDMono', + color: Colors.white, + fontSize: amount.length < 5 + ? 28 + : amount.length < 10 + ? 20 + : amount.length < 15 + ? 14 + : 12, + shadows: <Shadow>[ + Shadow( + offset: const Offset(1, 1), + blurRadius: 3, + color: Colors.black.withOpacity(0.4), + ), + ], + //softWrap: true, // Agrega esta lÃnea para permitir que el texto se envuelva a la siguiente lÃnea ), ), ),