diff --git a/lib/ui/widgets/first_screen/card_name_editable.dart b/lib/ui/widgets/first_screen/card_name_editable.dart index ce58002ac3c82acd4c1d4ff2661e238924cb327c..cad0b3451b0d92263ab76ab553feebe40137416b 100644 --- a/lib/ui/widgets/first_screen/card_name_editable.dart +++ b/lib/ui/widgets/first_screen/card_name_editable.dart @@ -177,13 +177,19 @@ class _CardNameEditableState extends State<CardNameEditable> { overflow: TextOverflow.ellipsis, text: TextSpan( style: DefaultTextStyle.of(context).style, - children: <TextSpan>[ + children: <InlineSpan>[ if (currentText == widget.defValue) TextSpan( text: currentText.toUpperCase(), style: const TextStyle( fontFamily: 'SourceCodePro', color: Colors.grey), ), + if (currentText == widget.defValue) + const WidgetSpan( + child: Padding( + padding: EdgeInsets.fromLTRB(2, 0, 0, 0), + child: Icon(Icons.edit, size: 14.0, color: Colors.white)), + ), if (currentText.isNotEmpty && currentText != widget.defValue) TextSpan( text: currentText,