mirror of
https://github.com/foss42/apidash.git
synced 2025-06-01 23:45:19 +08:00
Update Send button and tests
This commit is contained in:
@ -18,17 +18,15 @@ class SendButton extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ADFilledButton(
|
||||
onPressed: isWorking ? onCancel : onTap,
|
||||
isTonal: isWorking ? true : false,
|
||||
items: isWorking
|
||||
? const [
|
||||
kHSpacer8,
|
||||
Text(
|
||||
kLabelCancel,
|
||||
style: kTextStyleButton,
|
||||
),
|
||||
kHSpacer10,
|
||||
Icon(
|
||||
size: 16,
|
||||
Icons.cancel,
|
||||
)
|
||||
kHSpacer6,
|
||||
]
|
||||
: const [
|
||||
Text(
|
||||
|
Reference in New Issue
Block a user