Stack constructor

const Stack({
  1. Key? key,
  2. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  3. TextDirection? textDirection,
  4. StackFit fit = StackFit.loose,
  5. Clip clipBehavior = Clip.hardEdge,
  6. List<Widget> children = const <Widget>[],
})

Creates a stack with paint order support.

Implementation

const Stack({
  super.key,
  super.alignment,
  super.textDirection,
  super.fit,
  super.clipBehavior,
  super.children,
});