close method

void close(
  1. BuildContext context
)

Implementation

void close(BuildContext context) {
  if (!widget.persistent) {
    Navigator.of(context).pop(false);
  }
}