Fixed bug on 'Cancel' button in 'Pick center point' sheet

This commit is contained in:
ashilkn 2023-04-07 15:41:50 +05:30
parent d0a9ec2ada
commit 335496b66f

View file

@ -173,11 +173,13 @@ class PickCenterPointWidget extends StatelessWidget {
},
),
const SizedBox(height: 8),
const ButtonWidget(
ButtonWidget(
buttonType: ButtonType.secondary,
buttonAction: ButtonAction.cancel,
isInAlert: true,
labelText: "Cancel",
onTap: () async {
Navigator.of(context).pop();
},
),
],
),