mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Set buttons row width to min
This commit is contained in:
@ -23,6 +23,7 @@ class _CopyButtonState extends State<CopyButton> {
|
|||||||
sm.showSnackBar(getSnackBar("Copied"));
|
sm.showSnackBar(getSnackBar("Copied"));
|
||||||
},
|
},
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: const [
|
children: const [
|
||||||
Icon(
|
Icon(
|
||||||
Icons.content_copy,
|
Icons.content_copy,
|
||||||
@ -63,6 +64,7 @@ class _SendRequestButtonState extends State<SendRequestButton> {
|
|||||||
return FilledButton(
|
return FilledButton(
|
||||||
onPressed: disable ? null : widget.onTap,
|
onPressed: disable ? null : widget.onTap,
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
disable
|
disable
|
||||||
@ -129,6 +131,7 @@ class _SaveInDownloadsButtonState extends State<SaveInDownloadsButton> {
|
|||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: const [
|
children: const [
|
||||||
Icon(
|
Icon(
|
||||||
Icons.download,
|
Icons.download,
|
||||||
|
Reference in New Issue
Block a user