From 674920ce76d582b6bcf28e87dcecf2381823d77c Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Sat, 26 Feb 2022 18:36:03 +0530 Subject: [PATCH] Add some padding --- lib/ui/share_collection_widget.dart | 36 +++++++++++++++++------------ 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/lib/ui/share_collection_widget.dart b/lib/ui/share_collection_widget.dart index d57da408c..3d6508224 100644 --- a/lib/ui/share_collection_widget.dart +++ b/lib/ui/share_collection_widget.dart @@ -140,6 +140,9 @@ class _SharingDialogState extends State { ), ]); if (widget.collection.publicURLs?.isNotEmpty ?? false) { + children.add(Padding( + padding: EdgeInsets.all(2), + )); children.add(_getShareableUrlWidget(context)); } } @@ -255,23 +258,26 @@ class _SharingDialogState extends State { ), Padding(padding: EdgeInsets.all(2)), TextButton( - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Icon( - Icons.adaptive.share, - color: Theme.of(context).buttonColor, - ), - Padding( - padding: EdgeInsets.all(4), - ), - Text( - "share link", - style: TextStyle( + child: Padding( + padding: const EdgeInsets.all(12), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon( + Icons.adaptive.share, color: Theme.of(context).buttonColor, ), - ), - ], + Padding( + padding: EdgeInsets.all(4), + ), + Text( + "share link", + style: TextStyle( + color: Theme.of(context).buttonColor, + ), + ), + ], + ), ), onPressed: () { shareText(url);