BoxSpec constructor
const
BoxSpec({
- AlignmentGeometry? alignment,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- BoxConstraints? constraints,
- Decoration? decoration,
- Decoration? foregroundDecoration,
- Matrix4? transform,
- AlignmentGeometry? transformAlignment,
- Clip? clipBehavior,
- double? width,
- double? height,
- AnimatedData? animated,
Creates a BoxSpec with the given properties.
All parameters are required to ensure explicit configuration of each attribute.
Implementation
const BoxSpec({
this.alignment,
this.padding,
this.margin,
this.constraints,
this.decoration,
this.foregroundDecoration,
this.transform,
this.transformAlignment,
this.clipBehavior,
this.width,
this.height,
super.animated,
});