StoryPainterControl class
Constructors
- StoryPainterControl({double threshold = 3.0, double smoothRatio = 0.65, double velocityRange = 2.0, double width = 1.0, Color color = Colors.black, Function? onDrawStart, Function? onDrawEnd, PainterDrawType type = PainterDrawType.shape})
Properties
- color ↔ Color
-
getter/setter pair
- hasActivePath → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFilled → bool
-
no setter
-
lines
→ List<
CubicLine> -
no setter
- onDrawEnd → Function?
-
final
- onDrawStart → Function?
-
final
- pageState ↔ StoryPainterPaintState
-
getter/setter pair
-
painterKey
↔ GlobalKey<
State< StatefulWidget> > -
getter/setter pair
-
paths
→ List<
CubicPath?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smoothRatio → double
-
final
- threshold → double
-
final
- type ↔ PainterDrawType
-
getter/setter pair
- velocityRange → double
-
final
- width ↔ double
-
getter/setter pair
Methods
-
alterPath(
Offset point) → void -
clear(
) → void -
closePath(
{Offset? point}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyDimension(
Size size) → bool -
setColor(
Color newColor) → void -
setWidth(
double newWidth) → void -
startPath(
Offset point) → void -
toImage(
{double pixelRatio = 2.0}) → Future< Image> -
toString(
) → String -
A string representation of this object.
inherited
-
undo(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited