Inheritance
System.Object
RenderBox
public abstract class RenderBox : RenderObject, HitTestTarget
Properties
Declaration
public BoxConstraints constraints { get; }
Property Value
Declaration
public bool hasSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override Rect paintBounds { get; }
Property Value
Overrides
Declaration
public override Rect semanticBounds { get; }
Property Value
Overrides
Declaration
public Size size { get; set; }
Property Value
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
computeDistanceToActualBaseline(TextBaseline)
Declaration
protected virtual float? computeDistanceToActualBaseline(TextBaseline baseline)
Parameters
Returns
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
protected virtual float computeMaxIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Returns
Type |
Description |
System.Single |
|
Declaration
protected virtual float computeMaxIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
Returns
Type |
Description |
System.Single |
|
Declaration
protected virtual float computeMinIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Returns
Type |
Description |
System.Single |
|
Declaration
protected virtual float computeMinIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public Size debugAdoptSize(Size valueRaw)
Parameters
Type |
Name |
Description |
Size |
valueRaw |
|
Returns
Declaration
protected override void debugAssertDoesMeetConstraints()
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
debugHandleEvent(PointerEvent, HitTestEntry)
Declaration
protected bool debugHandleEvent(PointerEvent evt, HitTestEntry entry)
Parameters
Returns
Type |
Description |
System.Boolean |
|
debugPaint(PaintingContext, Offset)
Declaration
public override void debugPaint(PaintingContext context, Offset offset)
Parameters
Overrides
debugPaintBaselines(PaintingContext, Offset)
Declaration
protected virtual void debugPaintBaselines(PaintingContext context, Offset offset)
Parameters
debugPaintPointers(PaintingContext, Offset)
Declaration
protected virtual void debugPaintPointers(PaintingContext context, Offset offset)
Parameters
debugPaintSize(PaintingContext, Offset)
Declaration
protected virtual void debugPaintSize(PaintingContext context, Offset offset)
Parameters
Declaration
protected override void debugResetSize()
Overrides
getDistanceToActualBaseline(TextBaseline)
Declaration
public virtual float? getDistanceToActualBaseline(TextBaseline baseline)
Parameters
Returns
Type |
Description |
System.Nullable<System.Single> |
|
getDistanceToBaseline(TextBaseline, Boolean)
Declaration
public float? getDistanceToBaseline(TextBaseline baseline, bool onlyReal = false)
Parameters
Type |
Name |
Description |
TextBaseline |
baseline |
|
System.Boolean |
onlyReal |
|
Returns
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public float getMaxIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public float getMaxIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public float getMinIntrinsicHeight(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public float getMinIntrinsicWidth(float height)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public Offset globalToLocal(Offset point, RenderObject ancestor = null)
Parameters
Returns
Declaration
public virtual bool hitTest(HitTestResult result, Offset position = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual bool hitTestChildren(HitTestResult result, Offset position = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual bool hitTestSelf(Offset position)
Parameters
Type |
Name |
Description |
Offset |
position |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public Offset localToGlobal(Offset point, RenderObject ancestor = null)
Parameters
Returns
Declaration
public override void markNeedsLayout()
Overrides
Declaration
protected override void performLayout()
Overrides
Declaration
protected override void performResize()
Overrides
Declaration
public override void setupParentData(RenderObject child)
Parameters
Overrides