Inheritance
RenderListWheelViewport
public class RenderListWheelViewport : ContainerRenderObjectMixinRenderBox<RenderBox, ListWheelParentData>, HitTestTarget, ContainerRenderObjectMixin, RenderAbstractViewport
Constructors
Declaration
public RenderListWheelViewport(IListWheelChildManager childManager, ViewportOffset offset, float itemExtent, float diameterRatio = 2F, float perspective = 0.003F, float offAxisFraction = 0F, bool useMagnifier = false, float magnification = 1F, bool clipToSize = true, bool renderChildrenOutsideViewport = false, List<RenderBox> children = null)
Parameters
Fields
Declaration
public readonly IListWheelChildManager childManager
Field Value
Declaration
public const string clipToSizeAndRenderChildrenOutsideViewportConflict = "Cannot renderChildrenOutsideViewport and clipToSize since children rendered outside will be clipped anyway."
Field Value
Declaration
public const float defaultDiameterRatio = 2F
Field Value
Declaration
public const float defaultPerspective = 0.003F
Field Value
Declaration
public const string diameterRatioZeroMessage = "You can't set a diameterRatio of 0 or of a negative number. It would imply a cylinder of 0 in diameter in which case nothing will be drawn."
Field Value
Declaration
public const string perspectiveTooHighMessage = "A perspective too high will be clipped in the z-axis and therefore not renderable. Value must be between 0 and 0.0f1."
Field Value
Properties
Declaration
public bool clipToSize { get; set; }
Property Value
Declaration
public float diameterRatio { get; set; }
Property Value
Declaration
public override bool isRepaintBoundary { get; }
Property Value
Overrides
Declaration
public float itemExtent { get; set; }
Property Value
Declaration
public float magnification { get; set; }
Property Value
Declaration
public float offAxisFraction { get; set; }
Property Value
Declaration
public ViewportOffset offset { get; set; }
Property Value
Declaration
public RenderObject parent { get; }
Property Value
Implements
Declaration
public float perspective { get; set; }
Property Value
Declaration
public bool renderChildrenOutsideViewport { get; set; }
Property Value
Declaration
protected override bool sizedByParent { get; }
Property Value
Overrides
Declaration
public bool useMagnifier { get; set; }
Property Value
Methods
Declaration
public override void attach(object owner)
Parameters
Type |
Name |
Description |
Object |
owner |
|
Overrides
Unity.UIWidgets.rendering.ContainerRenderObjectMixinRenderBox<Unity.UIWidgets.rendering.RenderBox, Unity.UIWidgets.rendering.ListWheelParentData>.attach(System.Object)
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 Rect describeApproximatePaintClip(RenderObject child)
Parameters
Returns
Overrides
Declaration
public override void detach()
Overrides
Unity.UIWidgets.rendering.ContainerRenderObjectMixinRenderBox<Unity.UIWidgets.rendering.RenderBox, Unity.UIWidgets.rendering.ListWheelParentData>.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
public int indexOf(RenderBox child)
Parameters
Returns
Declaration
public float indexToScrollOffset(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
paint(PaintingContext, Offset)
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Declaration
protected override void performLayout()
Overrides
Declaration
protected override void performResize()
Overrides
Declaration
public int scrollOffsetToIndex(float scrollOffset)
Parameters
Type |
Name |
Description |
Single |
scrollOffset |
|
Returns
Declaration
public override void setupParentData(RenderObject child)
Parameters
Overrides
Declaration
public void showOnScreen(RenderObject descendant = null, Rect rect = null, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
Parameters