DecoratedStack constructor
const
DecoratedStack({
- Key? key,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- BoxDecoration? decoration,
- BoxDecoration? foregroundDecoration,
- double? width,
- double? height,
- TextStyle? textStyle,
- SafeAreaConfig? safeArea,
- ContextCallback? onPressed,
- ContextCallback? onLongPressed,
- ContextCallback? onDoubleTap,
- ContextValueChanged<
TapDownDetails> ? onDoubleTapDown, - ContextValueChanged<
TapDownDetails> ? onTapDown, - GestureDragEndCallback? onVerticalDragEnd,
- GestureDragEndCallback? onHorizontalDragEnd,
- HitTestBehavior? behavior,
- BoxConstraints? constraints,
- bool expanded = false,
- StackFit? stackFit,
- AlignmentGeometry? alignment,
- Widget? topLeft,
- Widget? topRight,
- Widget? bottomLeft,
- Widget? bottomRight,
- Widget? top,
- Widget? bottom,
- Widget? left,
- Widget? right,
- Widget? center,
- Widget? fill,
- bool sliver = false,
- double? aspectRatio,
- ZIndex? childrenZIndex = ZIndex.bottom,
- Matrix4? transform,
- Duration? animationDuration,
- Curve? animationCurve,
- Clip clipBehavior = Clip.none,
- bool? visible,
- SystemUiOverlayStyle? systemUiOverlayStyle,
- 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 [],
});