CropPhotoDocumentStyle constructor
const
CropPhotoDocumentStyle({
- bool hideAppBarDefault = false,
- String textButtonSave = 'CROP',
- List<
Widget> ? children, - double top = 0,
- double bottom = 0,
- double left = 0,
- double right = 0,
- Color? maskColor,
- ImageFilter? maskFilter,
- double dotSize = 18,
- double dotRadius = 30,
- Area defaultAreaInitial = const Area(topRight: Point(300, 80), topLeft: Point(40, 80), bottomLeft: Point(40, 450), bottomRight: Point(300, 450)),
- int minDistanceDots = 30,
- Color colorBorderArea = Colors.white,
- 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,
});