markForRemove method
- @Deprecated('Call markForComplete instead. ' 'This will let route associated future to complete when route is removed. ' 'This feature was deprecated after v3.27.0-1.0.pre.')
Marks the route to be removed without transition.
During TransitionDelegate.resolve, this can be called on an exiting route to indicate that the route should be removed from the Navigator without completing and without an animated transition.
Implementation
@Deprecated(
'Call markForComplete instead. '
'This will let route associated future to complete when route is removed. '
'This feature was deprecated after v3.27.0-1.0.pre.',
)
void markForRemove() => markForComplete();