pub struct PageRouteData {
pub fullscreen_dialog: bool,
pub allow_snapshotting: bool,
pub barrier_dismissible: bool,
}Expand description
The fields Dart’s PageRoute declares; every page route carries this bag under the field
page_route.
Fields§
§fullscreen_dialog: boolWhether this page 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.
allow_snapshotting: bool§barrier_dismissible: boolImplementations§
Source§impl PageRouteData
impl PageRouteData
Sourcepub fn new() -> PageRouteData
pub fn new() -> PageRouteData
The bag of a freshly created page route; Dart’s constructor defaults.
Trait Implementations§
Source§impl Default for PageRouteData
impl Default for PageRouteData
Source§fn default() -> PageRouteData
fn default() -> PageRouteData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for PageRouteData
impl Freeze for PageRouteData
impl Move for PageRouteData
impl RefUnwindSafe for PageRouteData
impl Send for PageRouteData
impl Sync for PageRouteData
impl Unpin for PageRouteData
impl UnsafeUnpin for PageRouteData
impl UnwindSafe for PageRouteData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more