fix: weird spacing when copying about information.

This commit is contained in:
Aunali321 2022-08-21 19:53:55 +05:30
parent 519a6d25e6
commit 89ca3f0040

View File

@ -33,13 +33,11 @@ class _AboutWidgetState extends State<AboutWidget> {
onLongPress: () {
Clipboard.setData(
ClipboardData(
text: """
Version: ${snapshot.data!['version']} \n
Build: ${snapshot.data!['buildNumber']} \n
Model: ${snapshot.data!['model']} \n
Android Version: ${snapshot.data!['androidVersion']} \n
Arch: ${snapshot.data!['arch']}
""",
text: 'Version: ${snapshot.data!['version']}\n'
'Build: ${snapshot.data!['buildNumber']}\n'
'Model: ${snapshot.data!['model']}\n'
'Android Version: ${snapshot.data!['androidVersion']}\n'
'Arch: ${snapshot.data!['arch']}\n',
),
);
ScaffoldMessenger.of(context).showSnackBar(