BoxSpec.exhaustive constructor

const BoxSpec.exhaustive({
  1. required AlignmentGeometry? alignment,
  2. required EdgeInsetsGeometry? padding,
  3. required EdgeInsetsGeometry? margin,
  4. required BoxConstraints? constraints,
  5. required Decoration? decoration,
  6. required Decoration? foregroundDecoration,
  7. required Matrix4? transform,
  8. required AlignmentGeometry? transformAlignment,
  9. required Clip? clipBehavior,
  10. required double? width,
  11. required double? height,
  12. 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,
});