Inheritance
RenderSliverPersistentHeader
public abstract class RenderSliverPersistentHeader : RenderObjectWithChildMixinRenderSliver<RenderBox>, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderSliverPersistentHeader(RenderBox child = null)
Parameters
Properties
Declaration
public float childExtent { get; }
Property Value
Declaration
protected bool excludeFromSemanticsScrolling { get; set; }
Property Value
Declaration
public virtual float? maxExtent { get; }
Property Value
Declaration
public virtual float? minExtent { get; }
Property Value
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
childMainAxisPosition(RenderObject)
Declaration
public override float childMainAxisPosition(RenderObject child)
Parameters
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
protected override bool hitTestChildren(HitTestResult result, float mainAxisPosition, float crossAxisPosition)
Parameters
Returns
Overrides
Declaration
protected void layoutChild(float scrollOffset, float maxExtent, bool overlapsContent = false)
Parameters
Declaration
public override void markNeedsLayout()
Overrides
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Declaration
protected virtual void updateChild(float shrinkOffset, bool overlapsContent)
Parameters
Type |
Name |
Description |
Single |
shrinkOffset |
|
Boolean |
overlapsContent |
|
Extension Methods