Border
Wraps a single child with padding and an optional stroke; also the generic padding container.
Properties
Child
The single wrapped child.
Type: View?
Stroke
The stroke color, or null (default) for no stroke.
Type: Color?
StrokeThickness
The stroke width in points.
Also insets the child so the stroke never overlaps content.
Type: double
Methods
ArrangeOverride
Content arrangement. Panels override to place their children.
| Parameter | Summary |
|---|---|
Size finalSize | The final size available for the view's content. |
Returns
Size: The arranged content size.
MeasureOverride
Content measurement. Panels recurse; controls delegate to the native SizeThatFits.
| Parameter | Summary |
|---|---|
Size availableSize | The size available for the view's content. |
Returns
Size: The desired content size.