LowQualityMode class
The low-quality mode can be used during resizing, panning, and zooming to optimize the drawing.
Allows you to simplify drawing during these events avoiding freezes. The default quality value is 0.3.
Constructors
- LowQualityMode({double quality = 0.3, Color? strokeColor = Colors.black, bool fillEnabled = false})
Properties
- fillEnabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- quality → double
-
Defines the quality of the geometries that will be drawn during events.
Value 1 represents 100% quality.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeColor → Color?
-
Color to paint the edge of geometries.
If null, the color defined by the theme will be used.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited