RenderConstraintsTransformBox constructor

RenderConstraintsTransformBox({
  1. required AlignmentGeometry alignment,
  2. required TextDirection? textDirection,
  3. required BoxConstraintsTransform constraintsTransform,
  4. RenderBox? child,
  5. Clip clipBehavior = Clip.none,
})

Creates a RenderBox that sizes itself to the child and modifies the constraints before passing it down to that child.

Implementation

RenderConstraintsTransformBox({
  required super.alignment,
  required super.textDirection,
  required BoxConstraintsTransform constraintsTransform,
  super.child,
  Clip clipBehavior = Clip.none,
}) : _constraintsTransform = constraintsTransform,
     _clipBehavior = clipBehavior;