ComposeImageRequest class

Constructors

ComposeImageRequest.new({required Uint8List baseImage, required Uint8List watermarkImage, Anchor anchor = Anchor.bottomRight, double margin = 16.0, double widthPercent = 0.18, double opacity = 0.6, OutputFormat format = OutputFormat.jpeg, double quality = 0.9, double offsetX = 0.0, double offsetY = 0.0, MeasureUnit marginUnit = MeasureUnit.px, MeasureUnit offsetUnit = MeasureUnit.px})

Properties

anchor Anchor
getter/setter pair
baseImage Uint8List
getter/setter pair
format OutputFormat
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
margin double
getter/setter pair
marginUnit MeasureUnit
getter/setter pair
offsetUnit MeasureUnit
getter/setter pair
offsetX double
getter/setter pair
offsetY double
getter/setter pair
opacity double
getter/setter pair
quality double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
watermarkImage Uint8List
getter/setter pair
widthPercent double
getter/setter pair

Methods

encode() Object
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.
override

Static Methods

decode(Object result) ComposeImageRequest