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