MaskOptions class final

The MaskOptions defines the appearance and behaviour of the crop mask.

Annotations

Constructors

MaskOptions({Color backgroundColor = Colors.black38, Color borderColor = Colors.grey, double strokeWidth = 2, double? aspectRatio, double minSize = 0})
Constructs a MaskOptions.
const

Properties

aspectRatio double?
The aspect ratio of the cropped area.
final
backgroundColor Color
The color of the masked area.
final
borderColor Color
The color of the border that outlines the cropped area.
final
hashCode int
The hash code for this object.
no setteroverride
minSize double
The minimum size allowed for the cropped area.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeWidth double
The width of the border in pixels.
final

Methods

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

Operators

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