Inheritance
System.Object
RenderWrap
public class RenderWrap : RenderBoxContainerDefaultsMixinContainerRenderObjectMixinRenderBox<RenderBox, WrapParentData>, HitTestTarget, ContainerRenderObjectMixin
Constructors
RenderWrap(List<RenderBox>, Axis, WrapAlignment, Single, WrapAlignment, Single, WrapCrossAlignment, Nullable<TextDirection>, VerticalDirection)
Declaration
public RenderWrap(List<RenderBox> children = null, Axis direction = Axis.horizontal, WrapAlignment alignment = WrapAlignment.start, float spacing = 0F, WrapAlignment runAlignment = WrapAlignment.start, float runSpacing = 0F, WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start, TextDirection? textDirection = default(TextDirection? ), VerticalDirection verticalDirection = VerticalDirection.down)
Parameters
Properties
Declaration
public WrapAlignment alignment { get; set; }
Property Value
Declaration
public WrapCrossAlignment crossAxisAlignment { get; set; }
Property Value
Declaration
public Axis direction { get; set; }
Property Value
Declaration
public WrapAlignment runAlignment { get; set; }
Property Value
Declaration
public float runSpacing { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public float spacing { get; set; }
Property Value
Type |
Description |
System.Single |
|
textDirection
Declaration
public TextDirection? textDirection { get; set; }
Property Value
Declaration
public VerticalDirection verticalDirection { get; set; }
Property Value
Methods
computeDistanceToActualBaseline(TextBaseline)
Declaration
protected override float? computeDistanceToActualBaseline(TextBaseline baseline)
Parameters
Returns
Type |
Description |
System.Nullable<System.Single> |
|
Overrides
Declaration
protected override float computeMaxIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
protected override float computeMaxIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
protected override float computeMinIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
protected override float computeMinIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
protected override bool hitTestChildren(HitTestResult result, Offset position = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
paint(PaintingContext, Offset)
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Declaration
protected override void performLayout()
Overrides
Declaration
public override void setupParentData(RenderObject child)
Parameters
Overrides