CropScreen.borrowed constructor
CropScreen.borrowed({
- required CropImageLayer layer,
- required ValueListenable<
Matrix4> camera, - required ValueChanged<
Rect> setFitRect, - void refitCamera({})?,
- DrawImageLayer? draw,
- EntityLayer? entities,
Creates the screen over the host's layer and camera.
Implementation
CropScreen.borrowed({
required this.layer,
required this.camera,
required this.setFitRect,
this.refitCamera,
this.draw,
this.entities,
});