CropPhotoDocumentStyle class

The style of the crop photo document.

Annotations

Constructors

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.
const

Properties

bottom double
The distance that the bottom edge of the image is inserted from the bottom of the stack.
final
children List<Widget>?
Widget to be displayed on the page
final
colorBorderArea Color
Color of the border covering the clipping mask
final
defaultAreaInitial Area
Default area to be occupied by the mask when cropping the image
final
dotRadius double
Radius of the dots
final
dotSize double
Size of the dots
final
hashCode int
The hash code for this object.
no setterinherited
hideAppBarDefault bool
Hide the app bar default.
final
left double
The distance that the left edge of the image is inserted from the left of the stack.
final
maskColor Color?
Mask color shown for cropping
final
maskFilter ImageFilter?
Mask filter shown for cropping
final
minDistanceDots int
Minimum distance between the 4 dots
final
The distance that the right edge of the image is inserted from the right of the stack.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textButtonSave String
Text of save button
final
top double
The distance that the top edge of the image is inserted from the top of the stack.
final
widthBorderArea double
Width of the border covering the clipping mask
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited