hand_signature
3.1.0+2, released a year ago by basecontrol.dev
A signature pad widget for Flutter to draw and export smooth signatures.
What it does
Provides a customizable signature pad widget and control logic for drawing smooth signatures based on Cubic Bézier curves. It supports various draw styles, velocity and pressure sensitivity, and exports signatures as PNG, SVG, or raw data.
AI-written summary of version 3.1.0+2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a user interface for drawing handwritten signatures or freehand sketches.
- You require signature export capabilities to PNG, SVG, or JSON state data.
Skip it when
- You need advanced image editing or vector manipulation features beyond freehand drawing.
Strengths
- Cross-platform support across mobile, web, and desktop.
- Multiple built-in drawers and export formats including SVG and PNG.
- Velocity and pressure-based stroke sizing for realistic handwriting.
Weaknesses
- Some drawing arc modes can have performance impacts depending on the platform.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final control = HandSignatureControl(
initialSetup: CubicPathSetup(
threshold: 3.0,
smoothRatio: 0.65,
velocityRange: 2.0,
pressureRatio: 0.0,
args: {'color': 'red'}
),
);
final widget = HandSignature(
control: control,
drawer: ShapeSignatureDrawer(
color: Colors.blueGrey,
width: 1.0,
maxWidth: 10.0,
),
);Alternatives
Packages that do the same job and could replace hand_signature.
- syncfusion_flutter_signaturepad
Widget to capture smooth hand-drawn signatures and export them as images.
86Compare - flutter_signature_pad
Flutter widget for drawing signatures by finger and exporting them as images.
50Compare
Works with
Packages commonly used together with hand_signature: ones it builds on, ones built on it, and its own family.