signature_pad 1.0.1

  • Installing
  • Versions
  • 78

signature_pad for Dart

A Pure Dart implementation of Signature Pad by Szymon Nowak



import 'dart:html';
import 'package:signature_pad/signature_pad.dart`

main() {
  var canvas = querySelector("canvas");
  var opts = new SignaturePadOptions(minWidth: 1.5, maxWidth: 4.0, velocityFilterWeight: 0.7);
  var signaturePad = new SignaturePad(canvas, opts);

see the example/ directory for a complete example. (e.g. pub serve example)


The example/ directory contains a Dart version of the JS demo

1. Depend on it

Add this to your package's pubspec.yaml file:

  signature_pad: "^1.0.1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:signature_pad/signature_pad.dart';
Version Uploaded Documentation Archive
1.0.1 May 5, 2017 Go to the documentation of signature_pad 1.0.1 Download signature_pad 1.0.1 archive
1.0.0 May 5, 2017 Go to the documentation of signature_pad 1.0.0 Download signature_pad 1.0.0 archive


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 13, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
65 / 100
Code health derived from static analysis. [more]
100 / 100
Reflects how tidy and up-to-date the package is. [more]
80 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: web

Primary library: package:signature_pad/signature_pad.dart with components: html.


  • Maintain

    Changelog entries help clients to follow the progress in your code.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use signature_pad.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.0
rate_limit ^0.1.0 0.1.0
Dev dependencies
browser ^0.10.0