Box.y constructor
- @Deprecated("Use this for debugging purposes only.")
- Key? key,
- bool show = true,
- Color? color,
- EdgeInsetsGeometry? padding,
- double? width,
- double? height,
- Alignment? alignment,
- Widget? child,
- bool removePaddingWhenNoChild = false,
- Decoration? decoration,
- DecorationPosition decorationPosition = DecorationPosition.background,
Adding .y to the box will make it yellow.
Use this for debugging purposes only.
This constructor is marked as deprecated so that you don't forget to remove it.
Implementation
@Deprecated("Use this for debugging purposes only.")
const Box.y({
Key? key,
bool show = true,
// ignore: avoid_unused_constructor_parameters
Color? color,
EdgeInsetsGeometry? padding,
double? width,
double? height,
Alignment? alignment,
Widget? child,
bool removePaddingWhenNoChild = false,
Decoration? decoration,
DecorationPosition decorationPosition = DecorationPosition.background,
}) : this._(
key: key,
show: show,
color: Colors.yellow,
padding: padding,
width: width,
height: height,
alignment: alignment,
child: child,
removePaddingWhenNoChild: removePaddingWhenNoChild,
decoration: decoration,
decorationPosition: decorationPosition,
fixedColor: true,
);