PrettyQrRoundedSymbol class
A rectangular symbol with rounded corners.
- Inheritance
-
- Object
- PrettyQrShape
- PrettyQrRoundedSymbol
- Annotations
-
- @sealed
Constructors
- PrettyQrRoundedSymbol({Color color = const Color(0xFF000000), BorderRadiusGeometry borderRadius = kDefaultBorderRadius})
-
Creates a basic QR shape.
const
Properties
- borderRadius → BorderRadiusGeometry
-
If non-null, the corners of QR modules are rounded by this BorderRadius.
final
- color → Color
-
The color or brush to use when filling the QR code.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
lerpFrom(
PrettyQrShape? a, double t) → PrettyQrRoundedSymbol? -
Linearly interpolates from another PrettyQrShape (which may be of a
different class) to
this
.override -
lerpTo(
PrettyQrShape? b, double t) → PrettyQrRoundedSymbol? -
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
Constants
- kDefaultBorderRadius → const BorderRadius
- The default value for borderRadius.