pub struct SearchPageRoute { /* private fields */ }Expand description
Dart’s _SearchPageRoute.
Trait Implementations§
Source§impl LocalHistoryRoute for SearchPageRoute
impl LocalHistoryRoute for SearchPageRoute
Source§fn local_history_route_data(
self: Handle<Self>,
app: &App,
) -> &LocalHistoryRouteData
fn local_history_route_data( self: Handle<Self>, app: &App, ) -> &LocalHistoryRouteData
Dart’s
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>>, )
Adds a local history entry to this route. Read more
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>, )
Removes a local history entry from this route. Read more
Source§fn will_pop(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn will_pop(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
Dart’s
LocalHistoryRoute.willPop.Source§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
Dart’s
LocalHistoryRoute.popDisposition.Source§impl ModalRoute for SearchPageRoute
impl ModalRoute for SearchPageRoute
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
See
modal_route_data.Source§fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
Whether you can dismiss this route by tapping the modal barrier. Read more
Source§fn barrier_color(self: Handle<Self>, app: &App) -> Option<Color>
fn barrier_color(self: Handle<Self>, app: &App) -> Option<Color>
The color to use for the modal barrier. If this is
None, the barrier will be
transparent. Read moreSource§fn barrier_label(self: Handle<Self>, app: &App) -> Option<String>
fn barrier_label(self: Handle<Self>, app: &App) -> Option<String>
The semantic label used for a dismissible barrier.
Source§fn maintain_state(self: Handle<Self>, app: &App) -> bool
fn maintain_state(self: Handle<Self>, app: &App) -> bool
Whether the route should remain in memory when it is inactive. Read more
Source§fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
Whether this route is a full-screen dialog.
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
Override this method to build the primary content of this route. Read more
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
Override this method to wrap the
child with one or more transition widgets that define
how the route arrives on and leaves the screen. Read moreSource§fn as_modal_route(self: Handle<Self>) -> AnyModalRoute
fn as_modal_route(self: Handle<Self>) -> AnyModalRoute
This route as the erased
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))
Schedules a call to
build_transitions. Read moreSource§fn delegated_transition(
self: Handle<Self>,
app: &App,
) -> Option<DelegatedTransitionBuilder>
fn delegated_transition( self: Handle<Self>, app: &App, ) -> Option<DelegatedTransitionBuilder>
The
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>
Dart’s
_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
Whether the semantics of the modal barrier are included in the semantics tree.
Source§fn barrier_curve(self: Handle<Self>, app: &App) -> Rc<dyn Curve>
fn barrier_curve(self: Handle<Self>, app: &App) -> Rc<dyn Curve>
The curve that is used for animating the modal barrier in and out. Read more
Source§fn pop_gesture_in_progress(self: Handle<Self>, app: &App) -> bool
fn pop_gesture_in_progress(self: Handle<Self>, app: &App) -> bool
True if a back gesture (iOS-style back swipe or Android predictive back) is currently
underway for this route.
Source§fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
Dart’s
ModalRoute.popGestureEnabled.Source§fn offstage(self: Handle<Self>, app: &App) -> bool
fn offstage(self: Handle<Self>, app: &App) -> bool
Whether this route is currently offstage. Read more
Source§fn subtree_context(self: Handle<Self>, app: &mut App) -> Option<AnyElement>
fn subtree_context(self: Handle<Self>, app: &mut App) -> Option<AnyElement>
The build context for the subtree containing the primary content of this route.
Source§fn animation(self: Handle<Self>, app: &App) -> Option<AnyAnimation<f64>>
fn animation(self: Handle<Self>, app: &App) -> Option<AnyAnimation<f64>>
Dart’s
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>>
Dart’s
ModalRoute.secondaryAnimation.Source§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
Dart’s
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>>, )
Dart’s
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>, )
Unregisters a
PopEntry in the route’s widget subtree.Dart’s
_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>, )
Dart’s
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>, )
Dart’s
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)
Dart’s
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>, )
The
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)
Dart’s
ModalRoute.changedInternalState.Source§fn changed_external_state(self: Handle<Self>, app: &mut App)
fn changed_external_state(self: Handle<Self>, app: &mut App)
Dart’s
ModalRoute.changedExternalState.Source§fn can_pop(self: Handle<Self>, app: &mut App) -> bool
fn can_pop(self: Handle<Self>, app: &mut App) -> bool
Whether this route can be popped. Read more
Source§fn implies_app_bar_dismissal(self: Handle<Self>, app: &App) -> bool
fn implies_app_bar_dismissal(self: Handle<Self>, app: &App) -> bool
Whether an app bar in the route should automatically add a back button or close button. Read more
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>
Dart’s
_buildModalBarrier.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>
Builds the barrier for this
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 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>
Dart’s
_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>>>
Dart’s
ModalRoute.createOverlayEntries.Source§impl OverlayRoute for SearchPageRoute
impl OverlayRoute for SearchPageRoute
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
See
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>>
Subclasses should override this method to return the builders for the overlay.
Source§fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
fn overlay_entries(self: Handle<Self>, app: &App) -> Vec<Handle<OverlayEntry>>
Dart’s
OverlayRoute.overlayEntries.Source§impl PageRoute for SearchPageRoute
impl PageRoute for SearchPageRoute
Source§fn page_route_data(self: Handle<Self>, app: &App) -> &PageRouteData
fn page_route_data(self: Handle<Self>, app: &App) -> &PageRouteData
Source§fn page_route_data_mut(self: Handle<Self>, app: &mut App) -> &mut PageRouteData
fn page_route_data_mut(self: Handle<Self>, app: &mut App) -> &mut PageRouteData
See
page_route_data.Source§fn as_page_route(self: Handle<Self>) -> AnyPageRoute
fn as_page_route(self: Handle<Self>) -> AnyPageRoute
This route as the erased
AnyPageRoute.Source§fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
fn fullscreen_dialog(self: Handle<Self>, app: &App) -> bool
Dart’s
PageRoute.fullscreenDialog.Source§fn allow_snapshotting(self: Handle<Self>, app: &App) -> bool
fn allow_snapshotting(self: Handle<Self>, app: &App) -> bool
Dart’s
PageRoute.allowSnapshotting.Source§fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
fn barrier_dismissible(self: Handle<Self>, app: &App) -> bool
Dart’s
PageRoute.barrierDismissible.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
Dart’s
PageRoute.canTransitionTo.Source§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
Dart’s
PageRoute.canTransitionFrom.Source§impl PredictiveBackRoute for SearchPageRoute
impl PredictiveBackRoute for SearchPageRoute
Source§fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
fn pop_gesture_enabled(self: Handle<Self>, app: &mut App) -> bool
Whether a pop gesture can be started by the user for this route.
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)
Handles a predictive back gesture starting. Read more
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, )
Handles a predictive back gesture updating as the user drags across the screen. Read more
Source§fn handle_commit_back_gesture(self: Handle<Self>, app: &mut App)
fn handle_commit_back_gesture(self: Handle<Self>, app: &mut App)
Handles a predictive back gesture ending successfully.
Source§fn handle_cancel_back_gesture(self: Handle<Self>, app: &mut App)
fn handle_cancel_back_gesture(self: Handle<Self>, app: &mut App)
Handles a predictive back gesture ending in cancellation.
Source§impl Route for SearchPageRoute
impl Route for SearchPageRoute
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
See
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>>
The overlay entries of this route. Read more
Source§fn install(self: Handle<Self>, app: &mut App)
fn install(self: Handle<Self>, app: &mut App)
Called when the route is inserted into the navigator. Read more
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>)
Called after
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
Returns whether calling
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
Returns whether calling
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, )
Called after a route pop was handled. Read more
Source§fn will_handle_pop_internally(self: Handle<Self>, app: &App) -> bool
fn will_handle_pop_internally(self: Handle<Self>, app: &App) -> bool
Whether calling
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
A request was made to pop this route. If the route can handle it internally (e.g.
because it has its own stack of internal state) then return false, otherwise return true
(by returning the value of calling
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)
The given route, which was above this one, has been popped off the navigator.
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>, )
This route’s next route has changed to the given new route.
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>, )
This route’s previous route has changed to the given new route.
Source§fn changed_internal_state(self: Handle<Self>, app: &mut App)
fn changed_internal_state(self: Handle<Self>, app: &mut App)
Called whenever the internal state of the route has changed. Read more
Source§fn changed_external_state(self: Handle<Self>, app: &mut App)
fn changed_external_state(self: Handle<Self>, app: &mut App)
Called whenever the
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)
Discards any resources used by the object. Read more
Source§fn as_page_route(self: Handle<Self>) -> Option<AnyPageRoute>
fn as_page_route(self: Handle<Self>) -> Option<AnyPageRoute>
Source§fn did_complete(self: Handle<Self>, app: &mut App, result: RouteResult)
fn did_complete(self: Handle<Self>, app: &mut App, result: RouteResult)
The route was popped or is otherwise being removed somewhat gracefully. Read more
Source§fn interface(self: Handle<Self>, id: TypeId) -> Option<Box<dyn Any>>
fn interface(self: Handle<Self>, id: TypeId) -> Option<Box<dyn Any>>
Dart’s
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>>
When this route is popped (see
NavigatorState::pop) if the result isn’t specified or
if it is None, this value will be used instead. Read moreSee
AnyRoute::navigator.Source§fn settings(self: Handle<Self>, app: &App) -> RouteSettingsRef
fn settings(self: Handle<Self>, app: &App) -> RouteSettingsRef
See
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
See
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>>> ⓘ
See
AnyRoute::popped.Source§impl TransitionRoute for SearchPageRoute
impl TransitionRoute for SearchPageRoute
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>>
The animation that drives the route’s transition and the previous route’s forward
transition.
Source§fn secondary_animation(
self: Handle<Self>,
app: &App,
) -> Option<AnyAnimation<f64>>
fn secondary_animation( self: Handle<Self>, app: &App, ) -> Option<AnyAnimation<f64>>
The animation for the route being pushed on top of this route. Read more
Source§fn allow_snapshotting(self: Handle<Self>, app: &App) -> bool
fn allow_snapshotting(self: Handle<Self>, app: &App) -> bool
Whether the route transition will prefer to animate a snapshot of the entering and
exiting routes.
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
Returns true if this route supports a transition animation that runs when
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
Returns true if
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 transition_duration(self: Handle<Self>, app: &mut App) -> Duration
fn transition_duration(self: Handle<Self>, app: &mut App) -> Duration
The duration the transition going forwards. Read more
Source§fn opaque(self: Handle<Self>, app: &App) -> bool
fn opaque(self: Handle<Self>, app: &App) -> bool
Whether the route obscures previous routes when the transition is complete. Read more
Source§fn create_animation(self: Handle<Self>, app: &mut App) -> AnimationRef<f64>
fn create_animation(self: Handle<Self>, app: &mut App) -> AnimationRef<f64>
Called to create the animation that exposes the current progress of the transition
controlled by the animation controller created by
create_animation_controller.Source§fn as_transition_route(self: Handle<Self>) -> AnyTransitionRoute
fn as_transition_route(self: Handle<Self>) -> AnyTransitionRoute
This route as the erased
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>>> ⓘ
This future completes only once the transition itself has finished, after the overlay
entries have been removed from the navigator’s overlay. Read more
Source§fn reverse_transition_duration(self: Handle<Self>, app: &mut App) -> Duration
fn reverse_transition_duration(self: Handle<Self>, app: &mut App) -> Duration
The duration the transition going in reverse. Read more
Source§fn finished_when_popped(self: Handle<Self>, app: &App) -> bool
fn finished_when_popped(self: Handle<Self>, app: &App) -> bool
Dart’s
TransitionRoute.finishedWhenPopped. Read moreSource§fn controller(
self: Handle<Self>,
app: &App,
) -> Option<Handle<AnimationController>>
fn controller( self: Handle<Self>, app: &App, ) -> Option<Handle<AnimationController>>
The animation controller that the route uses to drive the transitions. Read more
Source§fn debug_transition_completed(self: Handle<Self>, app: &App) -> bool
fn debug_transition_completed(self: Handle<Self>, app: &App) -> bool
Returns true if the transition has completed. Read more
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>>
Called to create the animation controller that will drive the transitions to this route
from the previous one, and back to the previous route from this one. Read more
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>>
Creates the simulation that drives the transition animation for this route. Read more
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>>
Dart’s
_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, )
Dart’s
_handleStatusChanged.Source§fn did_push(self: Handle<Self>, app: &mut App) -> TickerFuture ⓘ
fn did_push(self: Handle<Self>, app: &mut App) -> TickerFuture ⓘ
Dart’s
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>)
Dart’s
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
Dart’s
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)
Dart’s
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>, )
Dart’s
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>, )
Dart’s
_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>>>>, )
Dart’s
_setSecondaryAnimation.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)
Dart’s
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, )
Dart’s
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)
Dart’s
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)
Dart’s
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)
Dart’s
_handleDragEnd.Source§fn debug_label(self: Handle<Self>) -> String
fn debug_label(self: Handle<Self>) -> String
A short description of this route useful for debugging.
Auto Trait Implementations§
impl !RefUnwindSafe for SearchPageRoute
impl !Send for SearchPageRoute
impl !Sync for SearchPageRoute
impl !UnwindSafe for SearchPageRoute
impl Forget for SearchPageRoute
impl Freeze for SearchPageRoutewhere
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 SearchDelegate> is !null: Freeze,
PhantomData<RcInner<dyn SearchDelegate>>: Freeze,
impl Move for SearchPageRoute
impl Unpin for SearchPageRoutewhere
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 SearchDelegate>: Unpin,
impl UnsafeUnpin for SearchPageRoutewhere
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 SearchDelegate> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn SearchDelegate>>: 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
Mutably borrows from an owned value. Read more
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>
Dart’s
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>>
Dart’s
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>)
Dart’s
Route.didReplace.Source§fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
fn pop_disposition(self: Handle<Self>, app: &mut App) -> RoutePopDisposition
Dart’s
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>>, )
Dart’s
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
Dart’s
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>>
Dart’s
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
Dart’s
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>>)
Dart’s
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)
Dart’s
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>, )
Dart’s
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>, )
Dart’s
Route.didChangePrevious.Source§fn changed_internal_state(self: Handle<Self>, app: &mut App)
fn changed_internal_state(self: Handle<Self>, app: &mut App)
Dart’s
Route.changedInternalState.Source§fn changed_external_state(self: Handle<Self>, app: &mut App)
fn changed_external_state(self: Handle<Self>, app: &mut App)
Dart’s
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.