CropAreaConstrainedSettings constructor

const CropAreaConstrainedSettings({
  1. required bool restrictImageToViewport,
})

Creates an instance of CropAreaConstrainedSettings.

restrictImageToViewport: A boolean value to define if the image should be restricted to the viewport.

Implementation

const CropAreaConstrainedSettings({
  required this.restrictImageToViewport,
});