pub trait ModalRouteBase: ModalRoute {
// Provided method
fn build_modal_barrier(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
) -> WidgetRef { ... }
}Expand description
The bodies of Dart’s ModalRoute class that a subclass’s override runs as super.
Every ModalRoute implementor gets these bodies, so an override on the leaf never reaches
them by accident.
Provided Methods§
Sourcefn 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
Dart’s ModalRoute.buildModalBarrier.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".