Flutter
rendering
RenderBox
hasSize property
hasSize
description
hasSize
property
Null safety
bool
hasSize
Whether this render object has undergone layout and has a
size
.
Implementation
bool get hasSize => _size != null;
Flutter
rendering
RenderBox
hasSize property
RenderBox class
Constructors
RenderBox
Properties
alwaysNeedsCompositing
attached
constraints
debugCanParentUseSize
debugCreator
debugDisposed
debugDoingThisLayout
debugDoingThisLayoutWithCallback
debugDoingThisPaint
debugDoingThisResize
debugLayer
debugNeedsCompositedLayerUpdate
debugNeedsLayout
debugNeedsPaint
debugSemantics
depth
hashCode
hasSize
isRepaintBoundary
layer
needsCompositing
owner
paintBounds
parent
parentData
runtimeType
semanticBounds
size
sizedByParent
Methods
adoptChild
applyPaintTransform
assembleSemanticsNode
attach
clearSemantics
computeDistanceToActualBaseline
computeDryLayout
computeMaxIntrinsicHeight
computeMaxIntrinsicWidth
computeMinIntrinsicHeight
computeMinIntrinsicWidth
debugAdoptSize
debugAssertDoesMeetConstraints
debugCannotComputeDryLayout
debugDescribeChildren
debugFillProperties
debugHandleEvent
debugPaint
debugPaintBaselines
debugPaintPointers
debugPaintSize
debugRegisterRepaintBoundaryPaint
debugResetSize
describeApproximatePaintClip
describeForError
describeSemanticsClip
describeSemanticsConfiguration
detach
dispose
dropChild
getDistanceToActualBaseline
getDistanceToBaseline
getDryLayout
getMaxIntrinsicHeight
getMaxIntrinsicWidth
getMinIntrinsicHeight
getMinIntrinsicWidth
getTransformTo
globalToLocal
handleEvent
hitTest
hitTestChildren
hitTestSelf
invokeLayoutCallback
layout
localToGlobal
markNeedsCompositedLayerUpdate
markNeedsCompositingBitsUpdate
markNeedsLayout
markNeedsLayoutForSizedByParentChange
markNeedsPaint
markNeedsSemanticsUpdate
markParentNeedsLayout
noSuchMethod
paint
paintsChild
performLayout
performResize
reassemble
redepthChild
redepthChildren
replaceRootLayer
scheduleInitialLayout
scheduleInitialPaint
scheduleInitialSemantics
sendSemanticsEvent
setupParentData
showOnScreen
toDiagnosticsNode
toString
toStringDeep
toStringShallow
toStringShort
updateCompositedLayer
visitChildren
visitChildrenForSemantics
Operators
operator ==