anchor.diff:              final matrix = Matrix4.identity()
                 ..translate(value.position.dx, value.position.dy)
                 ..scale(scale);
  -
  -            final rotationMatrix = Matrix4.identity()..rotateZ(value.rotation);
  +            if(widget.enableRotation) {
  +              matrix..rotateZ(value.rotation);
  +            }
  +
  +
  +
               final Widget customChildLayout = CustomSingleChildLayout(
                 delegate: _CenterWithOriginalSizeDelegate(
                   scaleBoundaries.childSize,
  
positive.code: import 'controller/photo_view_controller_delegate.dart';
  import 'photo_view_hero_attributes.dart';
  import 'photo_view_typedefs.dart';
  
  typedef PhotoViewImageTapUpCallback = Function(BuildContext context,
      TapUpDetails details, PhotoViewControllerValue controllerValue);
  
negative.code:             return GestureDetector(
                child: Container(
                  child: Center(
                    child: Transform(
                      child: customChildLayout,
                      transform: matrix,
                      alignment: basePosition,
                    ),
                  ),
                  decoration: widget.backgroundDecoration ??
                      const BoxDecoration(
                        color: const Color.fromRGBO(0, 0, 0, 1.0),
  