PrettyQrSmoothSymbol class
A rectangular symbol with smoothed flow.
Constructors
- PrettyQrSmoothSymbol({double roundFactor = 1, FragmentShader? shader})
-
Creates a pretty QR shape.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- roundFactor → double
-
The corners of dots are rounded by this BorderRadiusGeometry value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shader → FragmentShader?
-
The color of QR symbol.
final
Methods
-
buildInnerCornerShape(
Offset p1, Offset p2, Offset p3) → Path -
lerpFrom(
PrettyQrShape? a, double t) → PrettyQrSmoothSymbol? -
Linearly interpolates from another
PrettyQrShape
(which may be of a different class) tothis
. -
lerpTo(
PrettyQrShape? b, double t) → PrettyQrSmoothSymbol? -
Linearly interpolates from
this
to anotherPrettyQrShape
(which may be of a different class). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
PrettyQrPaintingContext context) → void - Paints the QR matrix on the canvas of the given painting context.
-
toString(
) → String -
A string representation of this object.
inherited
-
transformDarkModuleRect(
Rect moduleRect, Set< PrettyQrNeighbourDirection> neighbors) → RRect -
transformWhiteModuleRect(
Rect moduleRect, Set< PrettyQrNeighbourDirection> neighbors) → Path
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override