PrettyQrDotsSymbol class
A dots QR Code style.
- Implemented types
- Annotations
-
- @sealed
Constructors
- PrettyQrDotsSymbol.new({Color color = const Color(0xFF000000), double density = kDefaultDensity, bool unifiedFinderPattern = true, bool unifiedAlignmentPatterns = true})
-
Creates a dots QR shape.
const
Properties
- color → Color
-
The color or brush to use when filling the QR Code.
final
- density → double
-
Defines the ratio (0.0-1.0) how compact the dots will be.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unifiedAlignmentPatterns → bool
-
Turns on the unified view to display
Alignment Patterns
.final - unifiedFinderPattern → bool
-
Turns on the unified view to display
Finder Pattern
.final
Methods
-
lerpFrom(
PrettyQrShape? a, double t) → PrettyQrDotsSymbol? -
Linearly interpolates from another PrettyQrShape (which may be of a
different class) to
this
.override -
lerpTo(
PrettyQrShape? b, double t) → PrettyQrDotsSymbol? -
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
- kDefaultDensity → const double
- The default value for density.