pub trait LayerBase: Layer {
// Provided methods
fn dispose(self: Handle<Self>, app: &mut App) { ... }
fn attach(self: Handle<Self>, app: &mut App, owner: HandleId) { ... }
fn detach(self: Handle<Self>, app: &mut App) { ... }
fn fire_composition_callbacks(
self: Handle<Self>,
app: &mut App,
include_children: bool,
) { ... }
}Expand description
The bodies of Flutter’s Layer that a subclass calls as super: LayerBase::dispose(self, app) where Dart writes super.dispose(). The virtual call is on AnyLayer.
Provided Methods§
Sourcefn fire_composition_callbacks(
self: Handle<Self>,
app: &mut App,
include_children: bool,
)
fn fire_composition_callbacks( self: Handle<Self>, app: &mut App, include_children: bool, )
Layer._fireCompositionCallbacks.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".