cancel method

void cancel(
  1. BuildContext context
)

Implementation

void cancel(BuildContext context) {
  Navigator.of(context).pop();
}