pub trait ContainerRenderObjectBase: ContainerRenderObjectMixin {
// Provided methods
fn insert(
self: RenderHandle<Self>,
app: &mut App,
child: Self::ChildType,
after: Option<Self::ChildType>,
) { ... }
fn remove(self: RenderHandle<Self>, app: &mut App, child: Self::ChildType) { ... }
fn remove_all(self: RenderHandle<Self>, app: &mut App) { ... }
fn move_child(
self: RenderHandle<Self>,
app: &mut App,
child: Self::ChildType,
after: Option<Self::ChildType>,
) { ... }
}Expand description
Flutter’s ContainerRenderObjectMixin bodies that an override calls through super.
Blanket-implemented for every container, and repeats the default bodies of the four child-list mutators: a leaf’s own override shadows the default it would otherwise call.
Provided Methods§
Sourcefn insert(
self: RenderHandle<Self>,
app: &mut App,
child: Self::ChildType,
after: Option<Self::ChildType>,
)
fn insert( self: RenderHandle<Self>, app: &mut App, child: Self::ChildType, after: Option<Self::ChildType>, )
Flutter’s ContainerRenderObjectMixin.insert.
Sourcefn remove(self: RenderHandle<Self>, app: &mut App, child: Self::ChildType)
fn remove(self: RenderHandle<Self>, app: &mut App, child: Self::ChildType)
Flutter’s ContainerRenderObjectMixin.remove.
Sourcefn remove_all(self: RenderHandle<Self>, app: &mut App)
fn remove_all(self: RenderHandle<Self>, app: &mut App)
Flutter’s ContainerRenderObjectMixin.removeAll.
Sourcefn move_child(
self: RenderHandle<Self>,
app: &mut App,
child: Self::ChildType,
after: Option<Self::ChildType>,
)
fn move_child( self: RenderHandle<Self>, app: &mut App, child: Self::ChildType, after: Option<Self::ChildType>, )
Flutter’s ContainerRenderObjectMixin.move.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".