RenderStack constructor
RenderStack({})
Overlays children using whole-cell positioning and optional clipping.
Implementation
RenderStack({
StackFit fit = StackFit.loose,
Alignment alignment = Alignment.topLeft,
bool clip = true,
List<RenderBox>? children,
}) : _fit = fit,
_alignment = alignment,
_clip = clip {
if (children != null) {
for (final child in children) {
add(child);
}
}
}