PrettyQrSmoothSymbol class
A rectangular modules with smoothed flow.
- Inheritance
-
- Object
- PrettyQrShape
- PrettyQrSmoothSymbol
- Annotations
-
- @sealed
Constructors
- PrettyQrSmoothSymbol({double roundFactor = 1, Color color = const Color(0xFF000000)})
-
Creates a pretty QR shape.
const
Properties
- color → Color
-
The color or brush to use when filling the QR code.
final
- 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
Methods
-
lerpFrom(
PrettyQrShape? a, double t) → PrettyQrSmoothSymbol? -
Linearly interpolates from another PrettyQrShape (which may be of a
different class) to
this
.override -
lerpTo(
PrettyQrShape? b, double t) → PrettyQrSmoothSymbol? -
Linearly interpolates from
this
to another PrettyQrShape (which may be of a different class).override -
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override