pub struct DialogRoute { /* private fields */ }Expand description
A dialog route with Material entrance and exit animations, modal barrier color, and modal barrier behavior (dialog is dismissible with a tap on the barrier).
It is used internally by ShowDialog or can be directly pushed
onto the Navigator stack to enable state restoration. See
ShowDialog for a state restoration app example.
This function takes a builder which typically builds a Dialog widget.
Content below the dialog is dimmed with a ModalBarrier. The widget
returned by the builder does not share a context with the location that
ShowDialog is originally called from. Use a StatefulBuilder or a
custom StatefulWidget if the dialog needs to update dynamically.
The context argument is used to look up
MaterialLocalizations::modal_barrier_dismiss_label, which provides the
modal with a localized accessibility label that will be used for the
modal’s barrier. However, a custom barrier_label can be passed in as well.
The barrier_dismissible argument is used to indicate whether tapping on the
barrier will dismiss the dialog. It is true by default and can not be null.
The barrier_color argument is used to specify the color of the modal
barrier that darkens everything below the dialog. If null, the default
color Colors::BLACK54 is used.
The use_safe_area argument is used to indicate if the dialog should only
display in ‘safe’ areas of the screen not used by the operating system
(see SafeArea for more details). It is true by default, which means
the dialog will not overlap operating system areas. If it is set to false
the dialog will only be constrained by the screen size. It can not be null.
The settings argument define the settings for this route. See
RouteSettings for details.
The animation_style argument is used to override the default animation
duration and curves of the dialog route.
See also:
ShowDialog, which is a way to display aDialogRoute.ShowGeneralDialog, which allows for customization of the dialog popup.ShowCupertinoDialog, which displays an iOS-style dialog.
Implementations§
Source§impl DialogRoute
impl DialogRoute
Sourcepub fn new(
app: &mut App,
context: BuildContext,
builder: WidgetBuilder,
) -> Ref<DialogRoute>
pub fn new( app: &mut App, context: BuildContext, builder: WidgetBuilder, ) -> Ref<DialogRoute>
A dialog route with Material entrance and exit animations; Dart’s optional arguments are the setters.
Dart’s defaults: barrier_color Colors::BLACK54, barrier_dismissible true,
barrier_label the context’s MaterialLocalizations::modal_barrier_dismiss_label,
use_safe_area true, and a transition of 150 ms.
Sourcepub fn themes(
self: Ref<Self>,
app: &mut App,
themes: Rc<CapturedThemes>,
) -> Ref<Self>
pub fn themes( self: Ref<Self>, app: &mut App, themes: Rc<CapturedThemes>, ) -> Ref<Self>
Dart DialogRoute(themes:).
Sourcepub fn barrier_color(
self: Ref<Self>,
app: &mut App,
barrier_color: Color,
) -> Ref<Self>
pub fn barrier_color( self: Ref<Self>, app: &mut App, barrier_color: Color, ) -> Ref<Self>
Dart DialogRoute(barrierColor:).
Sourcepub fn barrier_dismissible(
self: Ref<Self>,
app: &mut App,
barrier_dismissible: bool,
) -> Ref<Self>
pub fn barrier_dismissible( self: Ref<Self>, app: &mut App, barrier_dismissible: bool, ) -> Ref<Self>
Dart DialogRoute(barrierDismissible:).
Sourcepub fn barrier_label(
self: Ref<Self>,
app: &mut App,
barrier_label: String,
) -> Ref<Self>
pub fn barrier_label( self: Ref<Self>, app: &mut App, barrier_label: String, ) -> Ref<Self>
Dart DialogRoute(barrierLabel:).
Sourcepub fn use_safe_area(
self: Ref<Self>,
app: &mut App,
use_safe_area: bool,
) -> Ref<Self>
pub fn use_safe_area( self: Ref<Self>, app: &mut App, use_safe_area: bool, ) -> Ref<Self>
Dart DialogRoute(useSafeArea:).
Sourcepub fn settings(
self: Ref<Self>,
app: &mut App,
settings: RouteSettingsRef,
) -> Ref<Self>
pub fn settings( self: Ref<Self>, app: &mut App, settings: RouteSettingsRef, ) -> Ref<Self>
Dart DialogRoute(settings:).
Sourcepub fn request_focus(
self: Ref<Self>,
app: &mut App,
request_focus: bool,
) -> Ref<Self>
pub fn request_focus( self: Ref<Self>, app: &mut App, request_focus: bool, ) -> Ref<Self>
Dart DialogRoute(requestFocus:).
Sourcepub fn traversal_edge_behavior(
self: Ref<Self>,
app: &mut App,
behavior: TraversalEdgeBehavior,
) -> Ref<Self>
pub fn traversal_edge_behavior( self: Ref<Self>, app: &mut App, behavior: TraversalEdgeBehavior, ) -> Ref<Self>
Dart DialogRoute(traversalEdgeBehavior:).
Sourcepub fn fullscreen_dialog(
self: Ref<Self>,
app: &mut App,
fullscreen_dialog: bool,
) -> Ref<Self>
pub fn fullscreen_dialog( self: Ref<Self>, app: &mut App, fullscreen_dialog: bool, ) -> Ref<Self>
Dart DialogRoute(fullscreenDialog:).
Sourcepub fn animation_style(
self: Ref<Self>,
app: &mut App,
animation_style: AnimationStyle,
) -> Ref<Self>
pub fn animation_style( self: Ref<Self>, app: &mut App, animation_style: AnimationStyle, ) -> Ref<Self>
Dart DialogRoute(animationStyle:), which also sets the transition’s duration.
Trait Implementations§
Source§impl LocalHistoryRoute for DialogRoute
impl LocalHistoryRoute for DialogRoute
Source§fn local_history_route_data(
self: Handle<Self>,
app: &App,
) -> &LocalHistoryRouteData
fn local_history_route_data( self: Handle<Self>, app: &App, ) -> &LocalHistoryRouteData
LocalHistoryRoute fields, held under the field local_history
(local_history_route_accessors!).Source§fn local_history_route_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut LocalHistoryRouteData
fn local_history_route_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut LocalHistoryRouteData
Source§fn add_local_history_entry(
self: Handle<Self>,
app: &mut App,
entry: Retained<Handle<LocalHistoryEntry>>,
)
fn add_local_history_entry( self: Handle<Self>, app: &mut App, entry: Retained<Handle<LocalHistoryEntry>>, )
Source§fn remove_local_history_entry(
self: Handle<Self>,
app: &mut App,
entry: Handle<LocalHistoryEntry>,
)
fn remove_local_history_entry( self: Handle<Self>, app: &mut App, entry: Handle<LocalHistoryEntry>, )
Source§fn will_pop(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn will_pop(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
LocalHistoryRoute.willPop.Source§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
LocalHistoryRoute.popDisposition.Source§impl ModalRoute for DialogRoute
impl ModalRoute for DialogRoute
Source§fn modal_route_data(self: Handle<Self>, app: &App) -> &ModalRouteData
fn modal_route_data(self: Handle<Self>, app: &App) -> &ModalRouteData
Source§fn modal_route_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut ModalRouteData
fn modal_route_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut ModalRouteData
modal_route_data.Source§fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
Source§fn barrier_label(self: Handle<Self>, app: &App) -> Option<String>
fn barrier_label(self: Handle<Self>, app: &App) -> Option<String>
Source§fn barrier_color(self: Handle<Self>, app: &App) -> Option<Color>
fn barrier_color(self: Handle<Self>, app: &App) -> Option<Color>
None, the barrier will be
transparent. Read moreSource§fn maintain_state(self: Handle<Self>, app: &App) -> bool
fn maintain_state(self: Handle<Self>, app: &App) -> bool
Source§fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
Source§fn build_page(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
animation: AnimationRef<f64>,
secondary_animation: AnimationRef<f64>,
) -> WidgetRef
fn build_page( self: Handle<Self>, app: &mut App, context: BuildContext, animation: AnimationRef<f64>, secondary_animation: AnimationRef<f64>, ) -> WidgetRef
Source§fn build_transitions(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
animation: AnimationRef<f64>,
secondary_animation: AnimationRef<f64>,
child: WidgetRef,
) -> WidgetRef
fn build_transitions( self: Handle<Self>, app: &mut App, context: BuildContext, animation: AnimationRef<f64>, secondary_animation: AnimationRef<f64>, child: WidgetRef, ) -> WidgetRef
child with one or more transition widgets that define
how the route arrives on and leaves the screen. Read moreSource§fn build_modal_barrier(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
) -> WidgetRef
fn build_modal_barrier( self: Handle<Self>, app: &mut App, context: BuildContext, ) -> WidgetRef
ModalRoute; subclasses can override this method to
create their own barrier with customized features such as color or accessibility focus
size, and reach this body through ModalRouteBase::build_modal_barrier.Source§fn as_modal_route(self: Handle<Self>) -> AnyModalRoute
fn as_modal_route(self: Handle<Self>) -> AnyModalRoute
AnyModalRoute.Source§fn set_state(self: Handle<Self>, app: &mut App, change: impl FnOnce(&mut App))
fn set_state(self: Handle<Self>, app: &mut App, change: impl FnOnce(&mut App))
build_transitions. Read moreSource§fn delegated_transition(
self: Handle<Self>,
app: &App,
) -> Option<DelegatedTransitionBuilder>
fn delegated_transition( self: Handle<Self>, app: &App, ) -> Option<DelegatedTransitionBuilder>
DelegatedTransitionBuilder provided to the route below this one in the navigation
stack. Read moreSource§fn build_flexible_transitions(
self: Handle<Self>,
app: &mut App,
context: AnyElement,
animation: Retained<AnyAnimation<f64>>,
secondary_animation: Retained<AnyAnimation<f64>>,
child: Rc<dyn Widget>,
) -> Rc<dyn Widget>
fn build_flexible_transitions( self: Handle<Self>, app: &mut App, context: AnyElement, animation: Retained<AnyAnimation<f64>>, secondary_animation: Retained<AnyAnimation<f64>>, child: Rc<dyn Widget>, ) -> Rc<dyn Widget>
_buildFlexibleTransitions: wraps the transitions of this route with the
received_transition, when there is one.Source§fn semantics_dismissible(self: Handle<Self>, app: &App) -> bool
fn semantics_dismissible(self: Handle<Self>, app: &App) -> bool
Source§fn barrier_curve(self: Handle<Self>, app: &App) -> Rc<dyn Curve>
fn barrier_curve(self: Handle<Self>, app: &App) -> Rc<dyn Curve>
Source§fn pop_gesture_in_progress(self: Handle<Self>, app: &App) -> bool
fn pop_gesture_in_progress(self: Handle<Self>, app: &App) -> bool
Source§fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
ModalRoute.popGestureEnabled.Source§fn offstage(self: Handle<Self>, app: &App) -> bool
fn offstage(self: Handle<Self>, app: &App) -> bool
Source§fn subtree_context(self: Handle<Self>, app: &mut App) -> Option<AnyElement>
fn subtree_context(self: Handle<Self>, app: &mut App) -> Option<AnyElement>
Source§fn animation(self: Handle<Self>, app: &App) -> Option<AnyAnimation<f64>>
fn animation(self: Handle<Self>, app: &App) -> Option<AnyAnimation<f64>>
ModalRoute.animation.Source§fn secondary_animation(
self: Handle<Self>,
app: &App,
) -> Option<AnyAnimation<f64>>
fn secondary_animation( self: Handle<Self>, app: &App, ) -> Option<AnyAnimation<f64>>
ModalRoute.secondaryAnimation.Source§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
ModalRoute.popDisposition. Read moreSource§fn on_pop_invoked_with_result(
self: Handle<Self>,
app: &mut App,
did_pop: bool,
result: Option<Rc<dyn Any>>,
)
fn on_pop_invoked_with_result( self: Handle<Self>, app: &mut App, did_pop: bool, result: Option<Rc<dyn Any>>, )
ModalRoute.onPopInvokedWithResult.Source§fn unregister_pop_entry(
self: Handle<Self>,
app: &mut App,
pop_entry: Rc<dyn PopEntry>,
)
fn unregister_pop_entry( self: Handle<Self>, app: &mut App, pop_entry: Rc<dyn PopEntry>, )
PopEntry in the route’s widget subtree._maybeDispatchNavigationNotification.Source§fn did_change_previous(
self: Handle<Self>,
app: &mut App,
previous_route: Option<AnyRoute>,
)
fn did_change_previous( self: Handle<Self>, app: &mut App, previous_route: Option<AnyRoute>, )
ModalRoute.didChangePrevious.Source§fn did_change_next(
self: Handle<Self>,
app: &mut App,
next_route: Option<AnyRoute>,
)
fn did_change_next( self: Handle<Self>, app: &mut App, next_route: Option<AnyRoute>, )
ModalRoute.didChangeNext.Source§fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
ModalRoute.didPopNext.Source§fn update_received_transition(
self: Handle<Self>,
app: &mut App,
next_route: Option<AnyRoute>,
)
fn update_received_transition( self: Handle<Self>, app: &mut App, next_route: Option<AnyRoute>, )
nextRoute is ModalRoute && canTransitionTo(nextRoute) && … branch both
did_change_next and did_pop_next run.Source§fn changed_internal_state(self: Handle<Self>, app: &mut App)
fn changed_internal_state(self: Handle<Self>, app: &mut App)
ModalRoute.changedInternalState.Source§fn changed_external_state(self: Handle<Self>, app: &mut App)
fn changed_external_state(self: Handle<Self>, app: &mut App)
ModalRoute.changedExternalState.Source§fn can_pop(self: Handle<Self>, app: &mut App) -> bool
fn can_pop(self: Handle<Self>, app: &mut App) -> bool
Source§fn implies_app_bar_dismissal(self: Handle<Self>, app: &App) -> bool
fn implies_app_bar_dismissal(self: Handle<Self>, app: &App) -> bool
Source§fn build_modal_barrier_entry(
self: Handle<Self>,
app: &mut App,
context: AnyElement,
) -> Rc<dyn Widget>
fn build_modal_barrier_entry( self: Handle<Self>, app: &mut App, context: AnyElement, ) -> Rc<dyn Widget>
_buildModalBarrier.Source§fn build_modal_scope(
self: Handle<Self>,
app: &mut App,
context: AnyElement,
) -> Rc<dyn Widget>
fn build_modal_scope( self: Handle<Self>, app: &mut App, context: AnyElement, ) -> Rc<dyn Widget>
_buildModalScope: the part of the modal scope that does not change from frame
to frame, cached so that the amount of building is minimized.Source§fn create_overlay_entries(
self: Handle<Self>,
app: &mut App,
) -> Vec<Retained<Handle<OverlayEntry>>>
fn create_overlay_entries( self: Handle<Self>, app: &mut App, ) -> Vec<Retained<Handle<OverlayEntry>>>
ModalRoute.createOverlayEntries.Source§impl OverlayRoute for DialogRoute
impl OverlayRoute for DialogRoute
Source§fn overlay_route_data(self: Handle<Self>, app: &App) -> &OverlayRouteData
fn overlay_route_data(self: Handle<Self>, app: &App) -> &OverlayRouteData
Source§fn overlay_route_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut OverlayRouteData
fn overlay_route_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut OverlayRouteData
overlay_route_data.Source§fn create_overlay_entries(
self: Handle<Self>,
app: &mut App,
) -> Vec<Ref<OverlayEntry>>
fn create_overlay_entries( self: Handle<Self>, app: &mut App, ) -> Vec<Ref<OverlayEntry>>
Source§fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
OverlayRoute.overlayEntries.Source§impl PopupRoute for DialogRoute
impl PopupRoute for DialogRoute
Source§impl PredictiveBackRoute for DialogRoute
impl PredictiveBackRoute for DialogRoute
Source§fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
Source§fn handle_start_back_gesture(self: Handle<Self>, app: &mut App, progress: f64)
fn handle_start_back_gesture(self: Handle<Self>, app: &mut App, progress: f64)
Source§fn handle_update_back_gesture_progress(
self: Handle<Self>,
app: &mut App,
progress: f64,
)
fn handle_update_back_gesture_progress( self: Handle<Self>, app: &mut App, progress: f64, )
Source§fn handle_commit_back_gesture(self: Handle<Self>, app: &mut App)
fn handle_commit_back_gesture(self: Handle<Self>, app: &mut App)
Source§fn handle_cancel_back_gesture(self: Handle<Self>, app: &mut App)
fn handle_cancel_back_gesture(self: Handle<Self>, app: &mut App)
Source§impl RawDialogRouteLeaf for DialogRoute
impl RawDialogRouteLeaf for DialogRoute
Source§fn raw_dialog_route_data(self: Handle<Self>, app: &App) -> &RawDialogRouteData
fn raw_dialog_route_data(self: Handle<Self>, app: &App) -> &RawDialogRouteData
Source§fn raw_dialog_route_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut RawDialogRouteData
fn raw_dialog_route_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut RawDialogRouteData
Source§fn build_transitions(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
animation: AnimationRef<f64>,
secondary_animation: AnimationRef<f64>,
child: WidgetRef,
) -> WidgetRef
fn build_transitions( self: Handle<Self>, app: &mut App, context: BuildContext, animation: AnimationRef<f64>, secondary_animation: AnimationRef<f64>, child: WidgetRef, ) -> WidgetRef
RawDialogRoute.buildTransitions.Source§fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
RawDialogRoute.barrierDismissible.Source§fn barrier_label(self: Handle<Self>, app: &App) -> Option<String>
fn barrier_label(self: Handle<Self>, app: &App) -> Option<String>
RawDialogRoute.barrierLabel.Source§fn barrier_color(self: Handle<Self>, app: &App) -> Option<Color>
fn barrier_color(self: Handle<Self>, app: &App) -> Option<Color>
RawDialogRoute.barrierColor.Source§fn transition_duration(self: Handle<Self>, app: &App) -> Duration
fn transition_duration(self: Handle<Self>, app: &App) -> Duration
RawDialogRoute.transitionDuration.Source§fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
RawDialogRoute.fullscreenDialog.Source§fn build_page(
self: Handle<Self>,
app: &mut App,
context: AnyElement,
animation: Retained<AnyAnimation<f64>>,
secondary_animation: Retained<AnyAnimation<f64>>,
) -> Rc<dyn Widget>
fn build_page( self: Handle<Self>, app: &mut App, context: AnyElement, animation: Retained<AnyAnimation<f64>>, secondary_animation: Retained<AnyAnimation<f64>>, ) -> Rc<dyn Widget>
RawDialogRoute.buildPage.Source§fn build_modal_barrier(
self: Handle<Self>,
app: &mut App,
context: AnyElement,
) -> Rc<dyn Widget>
fn build_modal_barrier( self: Handle<Self>, app: &mut App, context: AnyElement, ) -> Rc<dyn Widget>
RawDialogRoute.buildModalBarrier.Source§impl Route for DialogRoute
impl Route for DialogRoute
Source§fn route_data_mut(self: Handle<Self>, app: &mut App) -> &mut RouteData
fn route_data_mut(self: Handle<Self>, app: &mut App) -> &mut RouteData
route_data.Source§fn as_transition_route(self: Handle<Self>) -> Option<AnyTransitionRoute>
fn as_transition_route(self: Handle<Self>) -> Option<AnyTransitionRoute>
Source§fn as_modal_route(self: Handle<Self>) -> Option<AnyModalRoute>
fn as_modal_route(self: Handle<Self>) -> Option<AnyModalRoute>
Source§fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
Source§fn install(self: Handle<Self>, app: &mut App)
fn install(self: Handle<Self>, app: &mut App)
Source§fn did_replace(self: Handle<Self>, app: &mut App, old_route: Option<AnyRoute>)
fn did_replace(self: Handle<Self>, app: &mut App, old_route: Option<AnyRoute>)
install when the route replaced another in the navigator.Source§fn will_pop(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn will_pop(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
NavigatorState::maybe_pop when this route is current should
do anything. Read moreSource§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
NavigatorState::maybe_pop when this route is current
(is_current) should do anything. Read moreSource§fn on_pop_invoked_with_result(
self: Handle<Self>,
app: &mut App,
did_pop: bool,
result: RouteResult,
)
fn on_pop_invoked_with_result( self: Handle<Self>, app: &mut App, did_pop: bool, result: RouteResult, )
Source§fn will_handle_pop_internally(self: Handle<Self>, app: &App) -> bool
fn will_handle_pop_internally(self: Handle<Self>, app: &App) -> bool
did_pop would return false.Source§fn did_pop(self: Handle<Self>, app: &mut App, result: RouteResult) -> bool
fn did_pop(self: Handle<Self>, app: &mut App, result: RouteResult) -> bool
Route::did_pop). Returning false will prevent the
default behavior of NavigatorState::pop. Read moreSource§fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
Source§fn did_change_next(
self: Handle<Self>,
app: &mut App,
next_route: Option<AnyRoute>,
)
fn did_change_next( self: Handle<Self>, app: &mut App, next_route: Option<AnyRoute>, )
Source§fn did_change_previous(
self: Handle<Self>,
app: &mut App,
previous_route: Option<AnyRoute>,
)
fn did_change_previous( self: Handle<Self>, app: &mut App, previous_route: Option<AnyRoute>, )
Source§fn changed_internal_state(self: Handle<Self>, app: &mut App)
fn changed_internal_state(self: Handle<Self>, app: &mut App)
Source§fn changed_external_state(self: Handle<Self>, app: &mut App)
fn changed_external_state(self: Handle<Self>, app: &mut App)
Navigator has updated in some manner that might affect routes,
to indicate that the route may wish to rebuild as well.Source§fn dispose(self: Handle<Self>, app: &mut App)
fn dispose(self: Handle<Self>, app: &mut App)
Source§fn as_page_route(self: Handle<Self>) -> Option<AnyPageRoute>
fn as_page_route(self: Handle<Self>) -> Option<AnyPageRoute>
Source§fn interface(self: Handle<Self>, id: TypeId) -> Option<Box<dyn Any>>
fn interface(self: Handle<Self>, id: TypeId) -> Option<Box<dyn Any>>
route is SomeMixin for a mixin defined outside this crate: the erased handle of
the interface id names, if this type implements it. Read moreSource§fn current_result(self: Handle<Self>, app: &App) -> Option<Rc<dyn Any>>
fn current_result(self: Handle<Self>, app: &App) -> Option<Rc<dyn Any>>
NavigatorState::pop) if the result isn’t specified or
if it is None, this value will be used instead. Read moreSource§fn did_complete(self: Handle<Self>, app: &mut App, result: Option<Rc<dyn Any>>)
fn did_complete(self: Handle<Self>, app: &mut App, result: Option<Rc<dyn Any>>)
AnyRoute::navigator.Source§fn settings(self: Handle<Self>, app: &App) -> RouteSettingsRef
fn settings(self: Handle<Self>, app: &App) -> RouteSettingsRef
AnyRoute::settings.Source§fn restoration_scope_id(
self: Handle<Self>,
app: &App,
) -> Handle<ValueNotifier<Option<String>>>
fn restoration_scope_id( self: Handle<Self>, app: &App, ) -> Handle<ValueNotifier<Option<String>>>
Source§fn is_current(self: Handle<Self>, app: &App) -> bool
fn is_current(self: Handle<Self>, app: &App) -> bool
AnyRoute::is_current.Source§fn popped(self: Handle<Self>, app: &App) -> CompleterFuture<Option<Rc<dyn Any>>> ⓘ
fn popped(self: Handle<Self>, app: &App) -> CompleterFuture<Option<Rc<dyn Any>>> ⓘ
AnyRoute::popped.Source§impl TransitionRoute for DialogRoute
impl TransitionRoute for DialogRoute
Source§fn transition_route_data(self: Handle<Self>, app: &App) -> &TransitionRouteData
fn transition_route_data(self: Handle<Self>, app: &App) -> &TransitionRouteData
Source§fn transition_route_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut TransitionRouteData
fn transition_route_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut TransitionRouteData
Source§fn animation(self: Handle<Self>, app: &App) -> Option<AnyAnimation<f64>>
fn animation(self: Handle<Self>, app: &App) -> Option<AnyAnimation<f64>>
Source§fn secondary_animation(
self: Handle<Self>,
app: &App,
) -> Option<AnyAnimation<f64>>
fn secondary_animation( self: Handle<Self>, app: &App, ) -> Option<AnyAnimation<f64>>
Source§fn transition_duration(self: Handle<Self>, app: &mut App) -> Duration
fn transition_duration(self: Handle<Self>, app: &mut App) -> Duration
Source§fn opaque(self: Handle<Self>, app: &App) -> bool
fn opaque(self: Handle<Self>, app: &App) -> bool
Source§fn allow_snapshotting(self: Handle<Self>, app: &App) -> bool
fn allow_snapshotting(self: Handle<Self>, app: &App) -> bool
Source§fn as_transition_route(self: Handle<Self>) -> AnyTransitionRoute
fn as_transition_route(self: Handle<Self>) -> AnyTransitionRoute
AnyTransitionRoute.Source§fn completed(
self: Handle<Self>,
app: &App,
) -> CompleterFuture<Option<Rc<dyn Any>>> ⓘ
fn completed( self: Handle<Self>, app: &App, ) -> CompleterFuture<Option<Rc<dyn Any>>> ⓘ
Source§fn reverse_transition_duration(self: Handle<Self>, app: &mut App) -> Duration
fn reverse_transition_duration(self: Handle<Self>, app: &mut App) -> Duration
Source§fn finished_when_popped(self: Handle<Self>, app: &App) -> bool
fn finished_when_popped(self: Handle<Self>, app: &App) -> bool
TransitionRoute.finishedWhenPopped. Read moreSource§fn controller(
self: Handle<Self>,
app: &App,
) -> Option<Handle<AnimationController>>
fn controller( self: Handle<Self>, app: &App, ) -> Option<Handle<AnimationController>>
Source§fn debug_transition_completed(self: Handle<Self>, app: &App) -> bool
fn debug_transition_completed(self: Handle<Self>, app: &App) -> bool
Source§fn create_animation_controller(
self: Handle<Self>,
app: &mut App,
) -> Retained<Handle<AnimationController>>
fn create_animation_controller( self: Handle<Self>, app: &mut App, ) -> Retained<Handle<AnimationController>>
Source§fn create_animation(
self: Handle<Self>,
app: &mut App,
) -> Retained<AnyAnimation<f64>>
fn create_animation( self: Handle<Self>, app: &mut App, ) -> Retained<AnyAnimation<f64>>
create_animation_controller.Source§fn create_simulation(
self: Handle<Self>,
app: &mut App,
forward: bool,
) -> Option<Box<dyn Simulation>>
fn create_simulation( self: Handle<Self>, app: &mut App, forward: bool, ) -> Option<Box<dyn Simulation>>
Source§fn create_simulation_and_verify(
self: Handle<Self>,
app: &mut App,
forward: bool,
) -> Option<Box<dyn Simulation>>
fn create_simulation_and_verify( self: Handle<Self>, app: &mut App, forward: bool, ) -> Option<Box<dyn Simulation>>
_createSimulationAndVerify.Source§fn handle_status_changed(
self: Handle<Self>,
app: &mut App,
status: AnimationStatus,
)
fn handle_status_changed( self: Handle<Self>, app: &mut App, status: AnimationStatus, )
_handleStatusChanged.Source§fn did_push(self: Handle<Self>, app: &mut App) -> TickerFuture ⓘ
fn did_push(self: Handle<Self>, app: &mut App) -> TickerFuture ⓘ
TransitionRoute.didPush.Source§fn did_replace(self: Handle<Self>, app: &mut App, old_route: Option<AnyRoute>)
fn did_replace(self: Handle<Self>, app: &mut App, old_route: Option<AnyRoute>)
TransitionRoute.didReplace.Source§fn did_pop(
self: Handle<Self>,
app: &mut App,
result: Option<Rc<dyn Any>>,
) -> bool
fn did_pop( self: Handle<Self>, app: &mut App, result: Option<Rc<dyn Any>>, ) -> bool
TransitionRoute.didPop.Source§fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
TransitionRoute.didPopNext.Source§fn did_change_next(
self: Handle<Self>,
app: &mut App,
next_route: Option<AnyRoute>,
)
fn did_change_next( self: Handle<Self>, app: &mut App, next_route: Option<AnyRoute>, )
TransitionRoute.didChangeNext.Source§fn update_secondary_animation(
self: Handle<Self>,
app: &mut App,
next_route: Option<AnyRoute>,
)
fn update_secondary_animation( self: Handle<Self>, app: &mut App, next_route: Option<AnyRoute>, )
_updateSecondaryAnimation.Source§fn set_secondary_animation(
self: Handle<Self>,
app: &mut App,
animation: Option<Retained<AnyAnimation<f64>>>,
disposed: Option<CompleterFuture<Option<Rc<dyn Any>>>>,
)
fn set_secondary_animation( self: Handle<Self>, app: &mut App, animation: Option<Retained<AnyAnimation<f64>>>, disposed: Option<CompleterFuture<Option<Rc<dyn Any>>>>, )
_setSecondaryAnimation.Source§fn can_transition_to(
self: Handle<Self>,
app: &App,
next_route: AnyTransitionRoute,
) -> bool
fn can_transition_to( self: Handle<Self>, app: &App, next_route: AnyTransitionRoute, ) -> bool
next_route
is pushed on top of it or when next_route is popped off of it. Read moreSource§fn can_transition_from(
self: Handle<Self>,
app: &App,
previous_route: AnyTransitionRoute,
) -> bool
fn can_transition_from( self: Handle<Self>, app: &App, previous_route: AnyTransitionRoute, ) -> bool
previous_route should animate when this route is pushed on top of it
or when this route is popped off of it. Read moreSource§fn handle_start_back_gesture(self: Handle<Self>, app: &mut App, progress: f64)
fn handle_start_back_gesture(self: Handle<Self>, app: &mut App, progress: f64)
TransitionRoute.handleStartBackGesture.Source§fn handle_update_back_gesture_progress(
self: Handle<Self>,
app: &mut App,
progress: f64,
)
fn handle_update_back_gesture_progress( self: Handle<Self>, app: &mut App, progress: f64, )
TransitionRoute.handleUpdateBackGestureProgress.Source§fn handle_cancel_back_gesture(self: Handle<Self>, app: &mut App)
fn handle_cancel_back_gesture(self: Handle<Self>, app: &mut App)
TransitionRoute.handleCancelBackGesture.Source§fn handle_commit_back_gesture(self: Handle<Self>, app: &mut App)
fn handle_commit_back_gesture(self: Handle<Self>, app: &mut App)
TransitionRoute.handleCommitBackGesture.Source§fn handle_drag_end(self: Handle<Self>, app: &mut App, animate_forward: bool)
fn handle_drag_end(self: Handle<Self>, app: &mut App, animate_forward: bool)
_handleDragEnd.Source§fn debug_label(self: Handle<Self>) -> String
fn debug_label(self: Handle<Self>) -> String
Auto Trait Implementations§
impl !RefUnwindSafe for DialogRoute
impl !Send for DialogRoute
impl !Sync for DialogRoute
impl !UnwindSafe for DialogRoute
impl Forget for DialogRoute
impl Freeze for DialogRoutewhere
NonZero<u32>: Freeze,
PhantomData<fn() -> NavigatorState>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RcInner<dyn Any> is !null: Freeze,
PhantomData<RcInner<dyn Any>>: Freeze,
*const RcInner<dyn Page> is !null: Freeze,
PhantomData<RcInner<dyn Page>>: Freeze,
PhantomData<fn() -> ValueNotifier<Option<String>>>: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
*const RcInner<Shared<Option<Rc<dyn Any>>>> is !null: Freeze,
PhantomData<RcInner<Shared<Option<Rc<dyn Any>>>>>: Freeze,
PhantomData<Retained<Handle<OverlayEntry>>>: Freeze,
&'static AnimationVTable<f64>: Freeze,
PhantomData<fn() -> AnimationController>: Freeze,
PhantomData<fn() -> ProxyAnimation>: Freeze,
*const RcInner<dyn Fn(&mut App)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App)>>: Freeze,
PhantomData<Retained<Handle<LocalHistoryEntry>>>: Freeze,
*const ArcInner<ImageFilter> is !null: Freeze,
PhantomData<ArcInner<ImageFilter>>: Freeze,
*const ArcInner<RuntimeEffect> is !null: Freeze,
PhantomData<ArcInner<RuntimeEffect>>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
PhantomData<EffectImage>: Freeze,
PhantomData<(String, f64)>: Freeze,
*const RcInner<ImageFilterConfig> is !null: Freeze,
PhantomData<RcInner<ImageFilterConfig>>: Freeze,
*const RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, bool, Option<&Rc<dyn Widget>>) -> Option<Rc<dyn Widget>>> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, bool, Option<&Rc<dyn Widget>>) -> Option<Rc<dyn Widget>>>>: Freeze,
*const (): Freeze,
PhantomData<Rc<dyn PopEntry>>: Freeze,
*const RcInner<dyn Key> is !null: Freeze,
PhantomData<RcInner<dyn Key>>: Freeze,
PhantomData<fn() -> PageStorageBucket>: Freeze,
PhantomData<fn() -> OverlayEntry>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
*const RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>) -> Rc<dyn Widget>> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>) -> Rc<dyn Widget>>>: Freeze,
*const RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, Rc<dyn Widget>) -> Rc<dyn Widget>> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, Rc<dyn Widget>) -> Rc<dyn Widget>>>: Freeze,
*const RcInner<dyn Fn(&mut App, AnyElement, &RouteBarrierDetails, Rc<dyn Widget>) -> Rc<dyn Widget>> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, &RouteBarrierDetails, Rc<dyn Widget>) -> Rc<dyn Widget>>>: Freeze,
*const RcInner<dyn Fn(&mut App, AnyElement) -> Rc<dyn Widget>> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement) -> Rc<dyn Widget>>>: Freeze,
*const RcInner<CapturedThemes> is !null: Freeze,
PhantomData<RcInner<CapturedThemes>>: Freeze,
PhantomData<fn() -> CurvedAnimation>: Freeze,
*const RcInner<dyn Curve> is !null: Freeze,
PhantomData<RcInner<dyn Curve>>: Freeze,
impl Move for DialogRoute
impl Unpin for DialogRoutewhere
NonZero<u32>: Unpin,
*const u8 is !null: Unpin,
Rc<dyn Any>: Unpin,
Rc<dyn Page>: Unpin,
Rc<Keep>: Unpin,
Rc<Shared<Option<Rc<dyn Any>>>>: Unpin,
&'static AnimationVTable<f64>: Unpin,
Rc<dyn Fn(&mut App)>: Unpin,
Arc<ImageFilter>: Unpin,
Arc<RuntimeEffect>: Unpin,
Arc<[u8]>: Unpin,
Arc<ImageInner>: Unpin,
Rc<ImageFilterConfig>: Unpin,
Rc<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, bool, Option<&Rc<dyn Widget>>) -> Option<Rc<dyn Widget>>>: Unpin,
*const (): Unpin,
Rc<dyn PopEntry>: Unpin,
Rc<dyn Key>: Unpin,
Rc<dyn Widget>: Unpin,
Rc<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>) -> Rc<dyn Widget>>: Unpin,
Rc<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, Rc<dyn Widget>) -> Rc<dyn Widget>>: Unpin,
Rc<dyn Fn(&mut App, AnyElement, &RouteBarrierDetails, Rc<dyn Widget>) -> Rc<dyn Widget>>: Unpin,
Rc<dyn Fn(&mut App, AnyElement) -> Rc<dyn Widget>>: Unpin,
Rc<CapturedThemes>: Unpin,
Rc<dyn Curve>: Unpin,
impl UnsafeUnpin for DialogRoutewhere
NonZeroU32Inner: UnsafeUnpin,
PhantomData<fn() -> NavigatorState>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RcInner<dyn Any> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Any>>: UnsafeUnpin,
*const RcInner<dyn Page> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Page>>: UnsafeUnpin,
PhantomData<fn() -> ValueNotifier<Option<String>>>: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
*const RcInner<Shared<Option<Rc<dyn Any>>>> is !null: UnsafeUnpin,
PhantomData<RcInner<Shared<Option<Rc<dyn Any>>>>>: UnsafeUnpin,
PhantomData<Retained<Handle<OverlayEntry>>>: UnsafeUnpin,
&'static AnimationVTable<f64>: UnsafeUnpin,
PhantomData<fn() -> AnimationController>: UnsafeUnpin,
PhantomData<fn() -> ProxyAnimation>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App)>>: UnsafeUnpin,
PhantomData<Retained<Handle<LocalHistoryEntry>>>: UnsafeUnpin,
*const ArcInner<ImageFilter> is !null: UnsafeUnpin,
PhantomData<ArcInner<ImageFilter>>: UnsafeUnpin,
*const ArcInner<RuntimeEffect> is !null: UnsafeUnpin,
PhantomData<ArcInner<RuntimeEffect>>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
PhantomData<EffectImage>: UnsafeUnpin,
PhantomData<(String, f64)>: UnsafeUnpin,
*const RcInner<ImageFilterConfig> is !null: UnsafeUnpin,
PhantomData<RcInner<ImageFilterConfig>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, bool, Option<&Rc<dyn Widget>>) -> Option<Rc<dyn Widget>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, bool, Option<&Rc<dyn Widget>>) -> Option<Rc<dyn Widget>>>>: UnsafeUnpin,
*const (): UnsafeUnpin,
PhantomData<Rc<dyn PopEntry>>: UnsafeUnpin,
*const RcInner<dyn Key> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Key>>: UnsafeUnpin,
PhantomData<fn() -> PageStorageBucket>: UnsafeUnpin,
PhantomData<fn() -> OverlayEntry>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>) -> Rc<dyn Widget>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>) -> Rc<dyn Widget>>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, Rc<dyn Widget>) -> Rc<dyn Widget>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, Retained<AnyAnimation<f64>>, Retained<AnyAnimation<f64>>, Rc<dyn Widget>) -> Rc<dyn Widget>>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, AnyElement, &RouteBarrierDetails, Rc<dyn Widget>) -> Rc<dyn Widget>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, &RouteBarrierDetails, Rc<dyn Widget>) -> Rc<dyn Widget>>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, AnyElement) -> Rc<dyn Widget>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement) -> Rc<dyn Widget>>>: UnsafeUnpin,
*const RcInner<CapturedThemes> is !null: UnsafeUnpin,
PhantomData<RcInner<CapturedThemes>>: UnsafeUnpin,
PhantomData<fn() -> CurvedAnimation>: UnsafeUnpin,
*const RcInner<dyn Curve> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Curve>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<R> ModalRouteBase for Rwhere
R: ModalRoute,
impl<R> ModalRouteBase for Rwhere
R: ModalRoute,
Source§fn build_modal_barrier(
self: Handle<Self>,
app: &mut App,
context: AnyElement,
) -> Rc<dyn Widget>
fn build_modal_barrier( self: Handle<Self>, app: &mut App, context: AnyElement, ) -> Rc<dyn Widget>
ModalRoute.buildModalBarrier.impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R> RouteBase for Rwhere
R: Route,
impl<R> RouteBase for Rwhere
R: Route,
Source§fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
Route.overlayEntries.Source§fn did_replace(self: Handle<Self>, app: &mut App, old_route: Option<AnyRoute>)
fn did_replace(self: Handle<Self>, app: &mut App, old_route: Option<AnyRoute>)
Route.didReplace.Source§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
Route.popDisposition.Source§fn on_pop_invoked_with_result(
self: Handle<Self>,
app: &mut App,
did_pop: bool,
result: Option<Rc<dyn Any>>,
)
fn on_pop_invoked_with_result( self: Handle<Self>, app: &mut App, did_pop: bool, result: Option<Rc<dyn Any>>, )
Route.onPopInvokedWithResult.Source§fn will_handle_pop_internally(self: Handle<Self>, app: &App) -> bool
fn will_handle_pop_internally(self: Handle<Self>, app: &App) -> bool
Route.willHandlePopInternally.Source§fn current_result(self: Handle<Self>, app: &App) -> Option<Rc<dyn Any>>
fn current_result(self: Handle<Self>, app: &App) -> Option<Rc<dyn Any>>
Route.currentResult.Source§fn did_pop(
self: Handle<Self>,
app: &mut App,
result: Option<Rc<dyn Any>>,
) -> bool
fn did_pop( self: Handle<Self>, app: &mut App, result: Option<Rc<dyn Any>>, ) -> bool
Route.didPop.Source§fn did_complete(self: Handle<Self>, app: &mut App, result: Option<Rc<dyn Any>>)
fn did_complete(self: Handle<Self>, app: &mut App, result: Option<Rc<dyn Any>>)
Route.didComplete.Source§fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
fn did_pop_next(self: Handle<Self>, app: &mut App, next_route: AnyRoute)
Route.didPopNext.Source§fn did_change_next(
self: Handle<Self>,
app: &mut App,
next_route: Option<AnyRoute>,
)
fn did_change_next( self: Handle<Self>, app: &mut App, next_route: Option<AnyRoute>, )
Route.didChangeNext.Source§fn did_change_previous(
self: Handle<Self>,
app: &mut App,
previous_route: Option<AnyRoute>,
)
fn did_change_previous( self: Handle<Self>, app: &mut App, previous_route: Option<AnyRoute>, )
Route.didChangePrevious.Source§fn changed_internal_state(self: Handle<Self>, app: &mut App)
fn changed_internal_state(self: Handle<Self>, app: &mut App)
Route.changedInternalState.Source§fn changed_external_state(self: Handle<Self>, app: &mut App)
fn changed_external_state(self: Handle<Self>, app: &mut App)
Route.changedExternalState.Source§impl<T> TransitionRouteBase for Twhere
T: TransitionRoute,
impl<T> TransitionRouteBase for Twhere
T: TransitionRoute,
Source§fn create_animation(
self: Handle<Self>,
app: &mut App,
) -> Retained<AnyAnimation<f64>>
fn create_animation( self: Handle<Self>, app: &mut App, ) -> Retained<AnyAnimation<f64>>
TransitionRoute.createAnimation: the controller itself, as an animation.