Struct components::material::MaterialPageRoute
source · [−]pub struct MaterialPageRoute {Show 24 fields
pub barrier_color: Option<Color>,
pub barrier_dismissible: bool,
pub barrier_label: Option<String>,
pub builder: WidgetBuilder,
pub can_pop: bool,
pub debug_label: String,
pub filter: Option<ImageFilter>,
pub finished_when_popped: bool,
pub fullscreen_dialog: bool,
pub has_active_route_below: bool,
pub has_scoped_will_pop_callback: bool,
pub is_active: bool,
pub is_current: bool,
pub is_first: bool,
pub maintain_state: bool,
pub navigator: Option<NavigatorState>,
pub offstage: bool,
pub opaque: bool,
pub reverse_transition_duration: Duration,
pub semantics_dismissible: bool,
pub subtree_context: Option<BuildContext>,
pub transition_duration: Duration,
pub will_dispose_animation_controller: bool,
pub will_handle_pop_internally: bool,
}
Fields
barrier_color: Option<Color>
barrier_dismissible: bool
barrier_label: Option<String>
builder: WidgetBuilder
can_pop: bool
debug_label: String
filter: Option<ImageFilter>
finished_when_popped: bool
fullscreen_dialog: bool
has_active_route_below: bool
has_scoped_will_pop_callback: bool
is_active: bool
is_current: bool
is_first: bool
maintain_state: bool
offstage: bool
opaque: bool
reverse_transition_duration: Duration
semantics_dismissible: bool
subtree_context: Option<BuildContext>
transition_duration: Duration
will_dispose_animation_controller: bool
will_handle_pop_internally: bool
Implementations
sourceimpl MaterialPageRoute
impl MaterialPageRoute
pub fn build_content(&self, context: BuildContext) -> Box<dyn Widget>
pub fn changed_external_state(&self)
pub fn changed_internal_state(&self)
pub fn did_add(&self)
pub fn did_change_next(&self, next_route: Option<Box<dyn Route>>)
pub fn did_change_previous(&self, previous_route: Option<Box<dyn Route>>)
pub fn did_pop_next(&self, next_route: Box<dyn Route>)
pub fn did_push(&self) -> TickerFuture
pub fn did_replace(&self, old_route: Option<Box<dyn Route>>)
pub fn dispose(&self)
pub fn install(&self)
pub fn set_state(&self, func: VoidCallback)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MaterialPageRoute
impl !Send for MaterialPageRoute
impl !Sync for MaterialPageRoute
impl Unpin for MaterialPageRoute
impl !UnwindSafe for MaterialPageRoute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.