controller property

CropController? controller
final

Controls the crop values being applied.

If null, this widget will create its own CropController. If you want to specify initial values of aspectRatio or defaultCrop, you need to use your own CropController. Otherwise, aspectRatio will not be enforced and the defaultCrop will be the full image.

Implementation

final CropController? controller;