stack method

Stack stack({
  1. Key? key,
  2. AlignmentDirectional align = AlignmentDirectional.topStart,
  3. TextDirection? textDirection,
  4. StackFit fit = StackFit.loose,
  5. Clip clip = Clip.hardEdge,
})

see Stack

Implementation

Stack stack({
  Key? key,
  AlignmentDirectional align = AlignmentDirectional.topStart,
  TextDirection? textDirection,
  StackFit fit = StackFit.loose,
  Clip clip = Clip.hardEdge,
}) =>
    Stack(
      key: key,
      alignment: align,
      textDirection: textDirection,
      fit: fit,
      clipBehavior: clip,
      children: this,
    );