pub trait RenderSliverFloatingPinnedPersistentHeader: RenderSliverFloatingPersistentHeader {
// Provided method
fn update_geometry(self: RenderHandle<Self>, app: &mut App) -> f64 { ... }
}Expand description
A sliver with a box child which shrinks and then remains pinned to the start of the viewport
like a RenderSliverPinnedPersistentHeader, but immediately grows when the user scrolls in
the reverse direction.
See also:
RenderSliverFloatingPersistentHeader, which is similar but scrolls off the top rather than sticking to it.
Provided Methods§
Sourcefn update_geometry(self: RenderHandle<Self>, app: &mut App) -> f64
fn update_geometry(self: RenderHandle<Self>, app: &mut App) -> f64
The body of Flutter’s updateGeometry override.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".