pageBack function
Implementation
void pageBack({bool isDelay = false,int delayValue = 200})async {
BuildContext context = NavigationService.defaultKey.currentState!.overlay!.context;
if(isDelay) {
Timer(Duration(milliseconds: delayValue), () {
Navigator.of(context).pop();
});
} else {
Navigator.of(context).pop();
}
}