TransformHelper constructor

const TransformHelper({
  1. required Size mainBodySize,
  2. required Size mainImageSize,
  3. required Size editorBodySize,
  4. TransformConfigs? transformConfigs,
})

Creates an instance of TransformHelper.

The constructor initializes the sizes of the main body, main image, and editor body, as well as optional transformation configurations.

Example:

TransformHelper(
  mainBodySize: Size(300, 400),
  mainImageSize: Size(600, 800),
  editorBodySize: Size(300, 400),
  transformConfigs: myTransformConfigs,
)

Implementation

const TransformHelper({
  required this.mainBodySize,
  required this.mainImageSize,
  required this.editorBodySize,
  this.transformConfigs,
});