CropperImage class Null safety

Inheritance

Constructors

CropperImage(ImageProvider<Object> image, {Key? key, CropperController? controller, bool limitations = true, bool isCircular = false, Color backgroundColor = Colors.black, Color maskColor = _defualtMaskColor, Color lineColor = Colors.white, double lineWidth = 3, double? aspectRatio, double outHeight = 256, double outWidth = 256, double maskPadding = 50.0, double round = 30.0})

Properties

aspectRatio double?
double is used as image out/mask aspect ratio value : 2/3
final
backgroundColor Color
Color of the background :Colors.black
final
controller CropperController?
final
hashCode int
The hash code for this object.
@nonVirtualread-onlyinherited
image ImageProvider<Object>
ImageProvider of the cropped image
final
isCircular bool
bool value used to set output path type
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
limitations bool
bool border limitations, calculates borders for the image movement (if too big it WON'T RENDER)
final
lineColor Color
Color of the mask line :Colors.white
final
lineWidth double
double lineWidth:3
final
maskColor Color
Color of the mask :#00000080
final
maskPadding double
maskPadding :50
final
outHeight double
double outHeight is used as cropping : 256
final
outWidth double
double outWidth is used as cropping : 256
final
round double
double round is used as rounding value :30
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

createElement() CropperImageElement
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
override
createRenderObject(BuildContext context) CropperImageRender
Creates an instance of the RenderObject class that this RenderObjectWidget represents, using the configuration described by this RenderObjectWidget.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
@protectedinherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
didUnmountRenderObject(covariant RenderObject renderObject) → void
A render object previously associated with this widget has been removed from the tree. The given RenderObject will be of the same type as returned by this object's createRenderObject.
@protectedinherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited
updateRenderObject(BuildContext context, covariant CropperImageRender renderObject) → void
Copies the configuration described by this RenderObjectWidget to the given RenderObject, which will be of the same type as returned by this object's createRenderObject.
override

Operators

operator ==(Object other) bool
The equality operator.
@nonVirtualinherited