Inheritance
RenderViewportBase<ParentDataClass>
public abstract class RenderViewportBase<ParentDataClass> : ContainerRenderObjectMixinRenderBox<RenderSliver, ParentDataClass>, HitTestTarget, ContainerRenderObjectMixin, RenderAbstractViewport where ParentDataClass : ParentData, ContainerParentDataMixin<RenderSliver>
Type Parameters
Name |
Description |
ParentDataClass |
|
Constructors
Declaration
protected RenderViewportBase(AxisDirection axisDirection = AxisDirection.down, AxisDirection crossAxisDirection = AxisDirection.right, ViewportOffset offset = null, float cacheExtent = 250F)
Parameters
Properties
Declaration
public Axis axis { get; }
Property Value
Declaration
public AxisDirection axisDirection { get; set; }
Property Value
Declaration
public float cacheExtent { get; set; }
Property Value
Declaration
protected abstract IEnumerable<RenderSliver> childrenInHitTestOrder { get; }
Property Value
Declaration
protected abstract IEnumerable<RenderSliver> childrenInPaintOrder { get; }
Property Value
Declaration
public AxisDirection crossAxisDirection { get; set; }
Property Value
Declaration
protected abstract bool hasVisualOverflow { get; }
Property Value
Declaration
protected abstract int indexOfFirstChild { get; }
Property Value
Declaration
public override bool isRepaintBoundary { get; }
Property Value
Overrides
Declaration
public ViewportOffset offset { get; set; }
Property Value
Declaration
public RenderObject parent { get; }
Property Value
Implements
Methods
_paintContents(PaintingContext, Offset)
Declaration
public void _paintContents(PaintingContext context, Offset offset)
Parameters
Declaration
public override void attach(object owner)
Parameters
Type |
Name |
Description |
Object |
owner |
|
Overrides
Unity.UIWidgets.rendering.ContainerRenderObjectMixinRenderBox<Unity.UIWidgets.rendering.RenderSliver, ParentDataClass>.attach(System.Object)
Declaration
protected Offset computeAbsolutePaintOffset(RenderSliver child, float layoutOffset, GrowthDirection growthDirection)
Parameters
Returns
computeChildMainAxisPosition(RenderSliver, Single)
Declaration
protected abstract float computeChildMainAxisPosition(RenderSliver child, float parentMainAxisPosition)
Parameters
Returns
Declaration
protected override float computeMaxIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
Overrides
Declaration
protected override float computeMaxIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
Single |
height |
|
Returns
Overrides
Declaration
protected override float computeMinIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
Overrides
Declaration
protected override float computeMinIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
Single |
height |
|
Returns
Overrides
Declaration
public override List<DiagnosticsNode> debugDescribeChildren()
Returns
Overrides
Unity.UIWidgets.rendering.ContainerRenderObjectMixinRenderBox<Unity.UIWidgets.rendering.RenderSliver, ParentDataClass>.debugDescribeChildren()
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
debugPaintSize(PaintingContext, Offset)
Declaration
protected override void debugPaintSize(PaintingContext context, Offset offset)
Parameters
Overrides
Declaration
protected virtual bool debugThrowIfNotCheckingIntrinsics()
Returns
Declaration
public override Rect describeApproximatePaintClip(RenderObject childRaw)
Parameters
Returns
Overrides
Declaration
public override void detach()
Overrides
Unity.UIWidgets.rendering.ContainerRenderObjectMixinRenderBox<Unity.UIWidgets.rendering.RenderSliver, ParentDataClass>.detach()
Declaration
public RevealedOffset getOffsetToReveal(RenderObject target, float alignment, Rect rect = null)
Parameters
Returns
Implements
Declaration
protected override bool hitTestChildren(HitTestResult result, Offset position = null)
Parameters
Returns
Overrides
Declaration
protected abstract string labelForChild(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Declaration
protected float layoutChildSequence(RenderSliver child, float scrollOffset, float overlap, float layoutOffset, float remainingPaintExtent, float mainAxisExtent, float crossAxisExtent, GrowthDirection growthDirection, Func<RenderSliver, RenderSliver> advance, float remainingCacheExtent, float cacheOrigin)
Parameters
Returns
Declaration
protected abstract float maxScrollObstructionExtentBefore(RenderSliver child)
Parameters
Returns
paint(PaintingContext, Offset)
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Declaration
protected abstract Offset paintOffsetOf(RenderSliver child)
Parameters
Returns
Declaration
protected abstract float scrollOffsetOf(RenderSliver child, float scrollOffsetWithinChild)
Parameters
Returns
Declaration
public static Rect showInViewport(RenderObject descendant = null, Rect rect = null, RenderAbstractViewport viewport = null, ViewportOffset offset = null, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
Parameters
Returns
Declaration
public override void showOnScreen(RenderObject descendant, Rect rect, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
Parameters
Overrides
Declaration
protected abstract void updateChildLayoutOffset(RenderSliver child, float layoutOffset, GrowthDirection growthDirection)
Parameters
Declaration
protected abstract void updateOutOfBandData(GrowthDirection growthDirection, SliverGeometry childLayoutGeometry)
Parameters