isModal property

bool get isModal

Whether this screen is a modal (dialog, bottom sheet, etc.), which Esc pops while it is the top screen.

Implementation

bool get isModal => false;