showpopUp method
Implementation
showpopUp(BuildContext context){
// Widget cancelIosButton = CupertinoDialogAction(
// // isDestructiveAction : true,
// child: DefaultText(
// textLabel: "No",
// colorsText: colorNo != null ? colorNo : Colors.black,
// ),
// onPressed:
// onCancel != null ? onCancel : () => Navigator.of(context).pop(),
// );
Widget proccessIosButton = CupertinoDialogAction(
child: DefaultText(
textLabel: "Oke",
colorsText: Colors.black,
),
onPressed: (){
// controllerGlobal.goBack();
SellonRouter.pop(context);
},
);
CupertinoAlertDialog curpertionalertDialog = CupertinoAlertDialog(
// title: DefaultText(
// textLabel: "Sellon",
// fontWeight: FontWeight.bold,
// sizeText: 16,
// ),
content: DefaultText(
textLabel: "Please wait, we will open this shop so soon.",
// textAlign: textalign != null ? textalign : null,
colorsText: Colors.black,
),
actions: [proccessIosButton]
);
// show the dialog
// if (message != "") {
showCupertinoDialog(
context: context,
builder: (BuildContext context) {
return curpertionalertDialog;
});
// }
}