zStack method

Widget zStack(
  1. {Key key,
  2. AlignmentGeometry alignment,
  3. StackFit fit,
  4. Clip clip}
)

Extension for using ZStack directly with list of widgets

Implementation

Widget zStack(
        {Key key, AlignmentGeometry alignment, StackFit fit, Clip clip}) =>
    ZStack(
      this,
      key: key,
      alignment: alignment,
      fit: fit,
      clip: clip,
    );