Stack constructor Null safety

const Stack(
  1. {Key? key,
  2. Alignment alignment,
  3. TextDirection? textDirection,
  4. StackFit fit,
  5. Clip clipBehavior,
  6. List<Widget> children}
)

Implementation

const factory Stack(
    {final Key? key,
    final Alignment alignment,
    final TextDirection? textDirection,
    final StackFit fit,
    final Clip clipBehavior,
    final List<Widget> children}) = _$Stack;