pub struct RenderSliverPersistentHeaderData {
pub stretch_configuration: Option<OverScrollHeaderStretchConfiguration>,
/* private fields */
}Expand description
Flutter’s RenderSliverPersistentHeader fields.
Fields§
§stretch_configuration: Option<OverScrollHeaderStretchConfiguration>Defines the parameters used to execute a callback when a stretching header over-scrolls.
If this is None then the callback is not triggered.
Implementations§
Source§impl RenderSliverPersistentHeaderData
impl RenderSliverPersistentHeaderData
Sourcepub fn new(
stretch_configuration: Option<OverScrollHeaderStretchConfiguration>,
) -> RenderSliverPersistentHeaderData
pub fn new( stretch_configuration: Option<OverScrollHeaderStretchConfiguration>, ) -> RenderSliverPersistentHeaderData
Creates the state of a persistent header that has not been laid out.
Auto Trait Implementations§
impl !RefUnwindSafe for RenderSliverPersistentHeaderData
impl !Send for RenderSliverPersistentHeaderData
impl !Sync for RenderSliverPersistentHeaderData
impl !UnwindSafe for RenderSliverPersistentHeaderData
impl Freeze for RenderSliverPersistentHeaderData
impl Unpin for RenderSliverPersistentHeaderData
impl UnsafeUnpin for RenderSliverPersistentHeaderData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more