stack function

Widget stack(
  1. Iterable<Widget> children, {
  2. AlignmentGeometry? alignment,
})

Implementation

Widget stack(Iterable<Widget> children, {AlignmentGeometry? alignment}) =>
    Stack(
      alignment: alignment ?? Alignment.center,
      children: [...children],
    );