TransformHelper constructor
const
TransformHelper({
- required Size mainBodySize,
- required Size mainImageSize,
- required Size editorBodySize,
- 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,
});