exitButton method
void exitButton ()
Button to exit the organization.
params: None
returns: None
Implementation
void exitButton() {
return navigationService.pushDialog(
CustomAlertDialog(
key: const Key("Exit?"),
reverse: true,
dialogSubTitle: 'Are you sure you want to exit this organization?',
successText: 'Exit',
success: () {
//Exit org
},
),
);
}