fullscreenDialog property

bool get fullscreenDialog

Whether this route is a full-screen dialog.

In Material and Cupertino, being fullscreen has the effects of making the app bars have a close button instead of a back button. On iOS, dialogs transitions animate differently and are also not closeable with the back swipe gesture.

Implementation

// TODO(dkwingsmt): Rename `ModalRoute.fullscreenDialog` something semantically suitable for a modal.
// https://github.com/flutter/flutter/issues/168949
bool get fullscreenDialog => false;