Add icon to copy the link

This commit is contained in:
vishnukvmd 2022-02-04 00:05:09 +05:30
parent 73e3b1d7b2
commit e0bb066ab4

View file

@ -228,15 +228,26 @@ class _SharingDialogState extends State<SharingDialog> {
},
child: Container(
padding: EdgeInsets.all(16),
child: Center(
child: Text(
url,
style: TextStyle(
fontSize: 16,
fontFeatures: const [FontFeature.tabularFigures()],
color: Colors.white.withOpacity(0.7),
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Flexible(
child: Text(
url,
style: TextStyle(
fontSize: 16,
fontFeatures: const [FontFeature.tabularFigures()],
color: Colors.white.withOpacity(0.68),
overflow: TextOverflow.ellipsis,
),
),
),
),
Padding(padding: EdgeInsets.all(2)),
Icon(
Icons.copy,
size: 18,
),
],
),
color: Colors.white.withOpacity(0.02),
),