QrEmbeddedImageStyle class
Styling options for any embedded image overlay
- Annotations
Constructors
- QrEmbeddedImageStyle({Size? size, Color? color, bool safeArea = false, double safeAreaMultiplier = 1, EmbeddedImageShape embeddedImageShape = EmbeddedImageShape.none, Color? shapeColor, double borderRadius = 0})
-
Create a new set of styling options.
const
Properties
- borderRadius → double
-
Border radius shape
final
- color → Color?
-
Color to tint the image.
final
- embeddedImageShape → EmbeddedImageShape
-
Shape background embedded image
final
- hasDefinedSize → bool
-
Check to see if the style object has a non-null, non-zero size.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeArea → bool
-
Hide data modules behind embedded image.
Data modules are not displayed inside area
final
- safeAreaMultiplier → double
-
Safe area size multiplier.
final
- shapeColor → Color?
-
Color background
final
- size → Size?
-
The size of the image. If one dimension is zero then the other dimension
will be used to scale the zero dimension based on the original image
size.
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.
override