Set buttons row width to min

This commit is contained in:
Ankit Mahato
2023-04-25 15:51:18 +05:30
parent 5835a44e47
commit 1d884cd910

View File

@ -23,6 +23,7 @@ class _CopyButtonState extends State<CopyButton> {
sm.showSnackBar(getSnackBar("Copied"));
},
child: Row(
mainAxisSize: MainAxisSize.min,
children: const [
Icon(
Icons.content_copy,
@ -63,6 +64,7 @@ class _SendRequestButtonState extends State<SendRequestButton> {
return FilledButton(
onPressed: disable ? null : widget.onTap,
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
Text(
disable
@ -129,6 +131,7 @@ class _SaveInDownloadsButtonState extends State<SaveInDownloadsButton> {
}
: null,
child: Row(
mainAxisSize: MainAxisSize.min,
children: const [
Icon(
Icons.download,