BcImageEditor constructor

const BcImageEditor({
  1. Key? key,
  2. @required String? frontImage,
  3. @required String? bgImage,
  4. double? frontWidth,
  5. double? frontHeight,
  6. double? frontLeft,
  7. double? frontTop,
  8. BoxFit frontBoxFit = BoxFit.fill,
  9. double? bgWidth,
  10. double? bgHeight,
  11. double? bgLeft,
  12. double? bgTop,
  13. BoxFit bgBoxFit = BoxFit.fill,
  14. double? rotateX = 0,
  15. double? rotateY = 0,
  16. double? rotate2D = 0,
  17. double? transformScale = 1,
})

Implementation

const BcImageEditor({
  Key? key,
  @required this.frontImage,
  @required this.bgImage,
  this.frontWidth,
  this.frontHeight,
  this.frontLeft,
  this.frontTop,
  this.frontBoxFit = BoxFit.fill,
  this.bgWidth,
  this.bgHeight,
  this.bgLeft,
  this.bgTop,
  this.bgBoxFit = BoxFit.fill,
  this.rotateX = 0,
  this.rotateY = 0,
  this.rotate2D = 0,
  this.transformScale = 1,
}) : super(key: key);