pub struct RenderSliverFloatingPersistentHeaderData {
pub snap_configuration: Option<FloatingHeaderSnapConfiguration>,
pub show_on_screen_configuration: Option<PersistentHeaderShowOnScreenConfiguration>,
/* private fields */
}Expand description
Flutter’s RenderSliverFloatingPersistentHeader fields.
Fields§
§snap_configuration: Option<FloatingHeaderSnapConfiguration>Defines the parameters used to snap (animate) the floating header in and out of view.
If this is None then the floating header does not snap.
show_on_screen_configuration: Option<PersistentHeaderShowOnScreenConfiguration>Specifies the persistent header’s behavior when show_on_screen is called.
If set to None, the persistent header will delegate the show_on_screen call to its
parent render object.
Implementations§
Source§impl RenderSliverFloatingPersistentHeaderData
impl RenderSliverFloatingPersistentHeaderData
Sourcepub fn new(
vsync: Option<TickerProviderRef>,
snap_configuration: Option<FloatingHeaderSnapConfiguration>,
show_on_screen_configuration: Option<PersistentHeaderShowOnScreenConfiguration>,
) -> RenderSliverFloatingPersistentHeaderData
pub fn new( vsync: Option<TickerProviderRef>, snap_configuration: Option<FloatingHeaderSnapConfiguration>, show_on_screen_configuration: Option<PersistentHeaderShowOnScreenConfiguration>, ) -> RenderSliverFloatingPersistentHeaderData
Creates the state of a floating persistent header that has not been laid out.
Auto Trait Implementations§
impl !RefUnwindSafe for RenderSliverFloatingPersistentHeaderData
impl !Send for RenderSliverFloatingPersistentHeaderData
impl !Sync for RenderSliverFloatingPersistentHeaderData
impl !UnwindSafe for RenderSliverFloatingPersistentHeaderData
impl Forget for RenderSliverFloatingPersistentHeaderData
impl Freeze for RenderSliverFloatingPersistentHeaderDatawhere
NonZero<u32>: Freeze,
PhantomData<fn() -> AnimationController>: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
&'static AnimationVTable<f64>: Freeze,
*const RcInner<dyn TickerProvider> is !null: Freeze,
PhantomData<RcInner<dyn TickerProvider>>: Freeze,
*const RcInner<dyn Curve> is !null: Freeze,
PhantomData<RcInner<dyn Curve>>: Freeze,
impl Move for RenderSliverFloatingPersistentHeaderData
impl Unpin for RenderSliverFloatingPersistentHeaderData
impl UnsafeUnpin for RenderSliverFloatingPersistentHeaderDatawhere
NonZeroU32Inner: UnsafeUnpin,
PhantomData<fn() -> AnimationController>: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
&'static AnimationVTable<f64>: UnsafeUnpin,
*const RcInner<dyn TickerProvider> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn TickerProvider>>: UnsafeUnpin,
*const RcInner<dyn Curve> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Curve>>: UnsafeUnpin,
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