doCancel method

void doCancel(
  1. BuildContext context
)

取消

Implementation

void doCancel(BuildContext context) {
  Navigator.of(context).pop<List<int>>(null);
  if (onCancel != null) onCancel!();
  _widget = null;
}