ComposeTextRequest class

Constructors

ComposeTextRequest.new({required Uint8List baseImage, required String text, Anchor anchor = Anchor.bottomRight, double margin = 16.0, MeasureUnit marginUnit = MeasureUnit.px, double offsetX = 0.0, double offsetY = 0.0, MeasureUnit offsetUnit = MeasureUnit.px, double widthPercent = 0.18, required TextStyleDto textStyle, required WmStyleDto style, OutputFormat format = OutputFormat.jpeg, double quality = 0.9})

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
quality double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style WmStyleDto
getter/setter pair
text String
getter/setter pair
textStyle TextStyleDto
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) ComposeTextRequest