CropPhotoDocumentStyle constructor

const CropPhotoDocumentStyle({
  1. bool hideAppBarDefault = false,
  2. String textButtonSave = 'CROP',
  3. List<Widget>? children,
  4. double top = 0,
  5. double bottom = 0,
  6. double left = 0,
  7. double right = 0,
  8. Color? maskColor,
  9. ImageFilter? maskFilter,
  10. double dotSize = 18,
  11. double dotRadius = 30,
  12. Area defaultAreaInitial = const Area(topRight: Point(300, 80), topLeft: Point(40, 80), bottomLeft: Point(40, 450), bottomRight: Point(300, 450)),
  13. int minDistanceDots = 30,
  14. Color colorBorderArea = Colors.white,
  15. double widthBorderArea = 3,
})

Create a instance of CropPhotoDocumentStyle.

Implementation

const CropPhotoDocumentStyle({
  this.hideAppBarDefault = false,
  this.textButtonSave = 'CROP',
  this.children,
  this.top = 0,
  this.bottom = 0,
  this.left = 0,
  this.right = 0,
  this.maskColor,
  this.maskFilter,
  this.dotSize = 18,
  this.dotRadius = 30,
  this.defaultAreaInitial = const Area(
    topRight: Point(300, 80),
    topLeft: Point(40, 80),
    bottomLeft: Point(40, 450),
    bottomRight: Point(300, 450),
  ),
  this.minDistanceDots = 30,
  this.colorBorderArea = Colors.white,
  this.widthBorderArea = 3,
});