StoryPainterControl class Null safety

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
read / write
hasActivePath bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isFilled bool
read-only
lines List<CubicLine>
read-only
onDrawEnd Function?
final
onDrawStart Function?
final
pageState StoryPainterPaintState
read / write
painterKey GlobalKey<State<StatefulWidget>>
read / write
paths List<CubicPath?>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
smoothRatio double
final
threshold double
final
type PainterDrawType
read / write
velocityRange double
final
width double
read / write

Methods

alterPath(Offset point) → void
clear() → void
closePath({Offset? point}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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