LetterPathsModel class
Constructors
-
LetterPathsModel({bool isSpace = false, bool? disableDivededStrokes, double? strokeIndex, double? distanceToCheck, PaintingStyle? indexPathPaintStyle, PaintingStyle? dottedPathPaintStyle, double strokeWidth = 55, Color indexColor = Colors.black, Color outerPaintColor = Colors.red, Color innerPaintColor = Colors.blue, Color dottedColor = Colors.amber, Path? letterImage, Path? dottedIndex, Path? letterIndex, Image? dottedImage, Image? anchorImage, List<
Path> ? paths, List<List< ? allStrokePoints, Offset? anchorPos, Size viewSize = const Size(200, 200), bool letterTracingFinished = false, bool hasFinishedOneStroke = false, int currentStroke = 0, int currentStrokeProgress = -1})Offset> >
Properties
-
allStrokePoints
↔ List<
List< Offset> > -
getter/setter pair
- anchorImage ↔ Image?
-
getter/setter pair
- anchorPos ↔ Offset?
-
getter/setter pair
- currentDrawingPath ↔ Path
-
getter/setter pair
- currentStroke ↔ int
-
getter/setter pair
- currentStrokeProgress ↔ int
-
getter/setter pair
- disableDivededStrokes → bool?
-
final
- distanceToCheck → double?
-
final
- dottedColor → Color
-
final
- dottedImage ↔ Image?
-
getter/setter pair
- dottedIndex ↔ Path?
-
getter/setter pair
- dottedPathPaintStyle → PaintingStyle?
-
final
- hasFinishedOneStroke ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexColor → Color
-
final
- indexPathPaintStyle → PaintingStyle?
-
final
- innerPaintColor → Color
-
final
- isSpace → bool
-
final
- letterImage ↔ Path?
-
getter/setter pair
- letterIndex ↔ Path?
-
getter/setter pair
- letterTracingFinished ↔ bool
-
getter/setter pair
- outerPaintColor → Color
-
final
-
paths
↔ List<
Path> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeIndex → double?
-
final
- strokeWidth ↔ double
-
getter/setter pair
- viewSize ↔ Size
-
getter/setter pair
Methods
-
copyWith(
{bool? isSpace, Path? letterImage, Path? dottedIndex, Path? letterIndex, Image? traceImage, Image? dottedImage, Image? anchorImage, List< Path> ? paths, List<List< ? allStrokePoints, Offset? anchorPos, Size? viewSize, bool? letterTracingFinished, bool? hasFinishedOneStroke, int? currentStroke, int? currentStrokeProgress, bool? isLoaded, PaintingStyle? dottedPathPaintStyle, PaintingStyle? indexPathPaintStyle}) → LetterPathsModelOffset> > -
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