LayerModel class
The layer model on the basis of which the image is drawn on Canvas
Constructors
-
LayerModel({List<
DynamicPoint> ? points, required double viscosity, required double touchForce, required int forceLimit, Color? color, double scaleLayer = 1, Paint? paintStyle}) - The layer model on the basis of which the image is drawn on Canvas
Properties
- color ↔ Color?
-
getter/setter pair
- forceLimit ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- paintStyle ↔ Paint?
-
getter/setter pair
-
points
↔ List<
DynamicPoint> -
Bézier path points that are on the edge of the liquid widget
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleLayer ↔ double
-
Scaling the size of the liquid layer, depends on the order of the layers
getter/setter pair
- touchForce ↔ double
-
getter/setter pair
- viscosity ↔ double
-
getter/setter pair
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