signature
library
Classes
ArcSignatureDrawer
A concrete implementation of HandSignatureDrawer that draws signatures as arcs,
with varying width based on the arc's size property.
CubicArc
Represents an arc segment between two points, typically used for drawing.
This class extends Offset to represent the starting point of the arc.
CubicLine
Represents a cubic Bezier curve segment, defined by a start point, end point, and two control points.
This class extends Offset to represent the starting point of the curve.
CubicPath
Manages a sequence of points to form a smooth, drawable path using cubic Bezier curves.
DebugSignaturePainterCP
A CustomPainter used for debugging purposes, specifically to visualize
the control points and segments of a signature path.
DynamicSignatureDrawer
A HandSignatureDrawer that dynamically selects the drawing type based on
arguments provided in the CubicPath 's setup.
HandSignature
A widget that provides a canvas for drawing hand signatures.
It combines HandSignaturePaint for rendering and RawGestureDetector for input handling,
sending gesture events to a HandSignatureControl .
HandSignatureControl
A ChangeNotifier that controls the drawing and manipulation of a hand signature.
It manages the active paths, their setup, and provides methods for
starting, altering, closing, importing, and exporting signature data.
HandSignatureDrawer
An abstract base class for custom signature drawing logic.
HandSignaturePaint
A StatefulWidget that uses CustomPaint to render a hand signature.
It rebuilds automatically whenever the signature data managed by HandSignatureControl changes.
LineSignatureDrawer
A concrete implementation of HandSignatureDrawer that draws signature as simple lines.
MultiSignatureDrawer
A HandSignatureDrawer that combines multiple drawers, allowing for complex
drawing effects by applying each drawer in sequence.
OffsetPoint
Extended Offset point with timestamp and optional pressure .
PathSignaturePainter
A CustomPainter responsible for rendering CubicPath s onto a canvas.
This painter is used internally by the signature drawing widgets.
ShapeSignatureDrawer
A concrete implementation of HandSignatureDrawer that draws signature as filled Path.
SignaturePaintParams
@Deprecated('Paint parameters are obsolete from 3.1.0 and will be removed in future versions. Use SignaturePathSetup instead.')
Paint settings.
This class is used for backwards compatibility.
SignaturePathSetup
Defines the setup parameters for a signature path, including smoothing, velocity, and pressure ratios.
Enums
SignatureDrawType
Defines the different types of drawing styles for a signature path.