PrettyQrSmoothSymbol class

A rectangular modules with smoothed flow.

Inheritance
Annotations
  • @sealed

Constructors

PrettyQrSmoothSymbol.new({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

buildInnerCornerShape(Offset firstPoint, Offset centerPoint, Offset lastPoint) Path
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
transformDarkModuleRect(Rect moduleRect, Set<PrettyQrNeighbourDirection> neighbours) RRect
transformWhiteModuleRect(Rect moduleRect, Set<PrettyQrNeighbourDirection> neighbours) Path

Operators

operator ==(Object other) bool
The equality operator.
override