hcFinish function
Go back to previous screen.
Implementation
void hcFinish(BuildContext context, [Object? result]) {
if (Navigator.canPop(context)) Navigator.pop(context, result);
}
Go back to previous screen.
void hcFinish(BuildContext context, [Object? result]) {
if (Navigator.canPop(context)) Navigator.pop(context, result);
}