DecoratedStack constructor

const DecoratedStack({
  1. Key? key,
  2. EdgeInsetsGeometry? padding,
  3. EdgeInsetsGeometry? margin,
  4. BoxDecoration? decoration,
  5. BoxDecoration? foregroundDecoration,
  6. double? width,
  7. double? height,
  8. TextStyle? textStyle,
  9. SafeAreaConfig? safeArea,
  10. ContextCallback? onPressed,
  11. ContextCallback? onLongPressed,
  12. ContextCallback? onDoubleTap,
  13. ContextValueChanged<TapDownDetails>? onDoubleTapDown,
  14. ContextValueChanged<TapDownDetails>? onTapDown,
  15. GestureDragEndCallback? onVerticalDragEnd,
  16. GestureDragEndCallback? onHorizontalDragEnd,
  17. HitTestBehavior? behavior,
  18. BoxConstraints? constraints,
  19. bool expanded = false,
  20. StackFit? stackFit,
  21. AlignmentGeometry? alignment,
  22. Widget? topLeft,
  23. Widget? topRight,
  24. Widget? bottomLeft,
  25. Widget? bottomRight,
  26. Widget? top,
  27. Widget? bottom,
  28. Widget? left,
  29. Widget? right,
  30. Widget? center,
  31. Widget? fill,
  32. bool sliver = false,
  33. double? aspectRatio,
  34. ZIndex? childrenZIndex = ZIndex.bottom,
  35. Matrix4? transform,
  36. Duration? animationDuration,
  37. Curve? animationCurve,
  38. Clip clipBehavior = Clip.none,
  39. bool? visible,
  40. SystemUiOverlayStyle? systemUiOverlayStyle,
  41. List<Widget> children = const [],
})

Implementation

const DecoratedStack({
  super.key,
  this.padding,
  this.margin,
  this.decoration,
  this.foregroundDecoration,
  this.width,
  this.height,
  this.textStyle,
  this.safeArea,
  this.onPressed,
  this.onLongPressed,
  this.onDoubleTap,
  this.onDoubleTapDown,
  this.onTapDown,
  this.onVerticalDragEnd,
  this.onHorizontalDragEnd,
  this.behavior,
  this.constraints,
  this.expanded = false,
  this.stackFit,
  this.alignment,
  this.topLeft,
  this.topRight,
  this.bottomLeft,
  this.bottomRight,
  this.top,
  this.bottom,
  this.left,
  this.right,
  this.center,
  this.fill,
  this.sliver = false,
  this.aspectRatio,
  this.childrenZIndex = ZIndex.bottom,
  this.transform,
  this.animationDuration,
  this.animationCurve,
  this.clipBehavior = Clip.none,
  this.visible,
  this.systemUiOverlayStyle,
  this.children = const [],
});