toStack method
Widget
toStack({
- Key? key,
- AlignmentGeometry alignment = AlignmentDirectional.topStart,
- TextDirection? textDirection,
- StackFit fit = StackFit.loose,
- Clip clipBehavior = Clip.hardEdge,
- List<
Widget> ? children,
A widget that arranges its children sequentially on the z axis.
Implementation
Widget toStack({
Key? key,
AlignmentGeometry alignment = AlignmentDirectional.topStart,
TextDirection? textDirection,
StackFit fit = StackFit.loose,
Clip clipBehavior = Clip.hardEdge,
List<Widget>? children,
}) {
return Stack(
key: key,
alignment: alignment,
textDirection: textDirection,
fit: fit,
clipBehavior: clipBehavior,
children: children ?? this,
);
}