flutter_signature_pad 1.0.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 93

Flutter signature pad widget #

Flutter widget to allow users to sign with finger and export the result as image.

Getting Started with Flutter #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

Getting Started with the widget #

This is a very simple widget that allow drawing by finger on a widget and be able to get the image back.

For very basic usage, please check the example file here

API #

The constructor of the widget allow you to change the color (default to black), the strokeWidth (default to 5.0) and a backgroundPainter if you want to add some kind of watermark

clear: allow you to clear the area to start again

getData: allow you to retrieve the image

[1.0.0] - 26/02/2019

  • fix getData signature to future as it was not compiling for flutter 1.2.1 anymore

[0.2.3] - 20/01/2019.

  • fix crash when onSign is not provided

[0.2.2] - 19/12/2018.

  • allow custom Global key

[0.1.2] - 29/10/2018.

  • add onSign callback field

[0.1.1] - 29/10/2018.

  • clip painter to not have overflow

[0.1.0] - 26/10/2018.

  • add background painter capabilities

[0.0.3] - 26/10/2018.

  • fix #1.

[0.0.1] - 05/07/2018.

  • Initial release.

example/README.md

example #

A new Flutter project.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_signature_pad: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_signature_pad/flutter_signature_pad.dart';
  
Version Uploaded Documentation Archive
1.0.0 Feb 26, 2019 Go to the documentation of flutter_signature_pad 1.0.0 Download flutter_signature_pad 1.0.0 archive
0.2.3 Jan 20, 2019 Go to the documentation of flutter_signature_pad 0.2.3 Download flutter_signature_pad 0.2.3 archive
0.2.2 Dec 19, 2018 Go to the documentation of flutter_signature_pad 0.2.2 Download flutter_signature_pad 0.2.2 archive
0.1.2 Oct 29, 2018 Go to the documentation of flutter_signature_pad 0.1.2 Download flutter_signature_pad 0.1.2 archive
0.1.1 Oct 29, 2018 Go to the documentation of flutter_signature_pad 0.1.1 Download flutter_signature_pad 0.1.1 archive
0.1.0 Oct 26, 2018 Go to the documentation of flutter_signature_pad 0.1.0 Download flutter_signature_pad 0.1.0 archive
0.0.3 Oct 26, 2018 Go to the documentation of flutter_signature_pad 0.0.3 Download flutter_signature_pad 0.0.3 archive
0.0.2 Aug 24, 2018 Go to the documentation of flutter_signature_pad 0.0.2 Download flutter_signature_pad 0.0.2 archive
0.0.1 Jul 5, 2018 Go to the documentation of flutter_signature_pad 0.0.1 Download flutter_signature_pad 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
85
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
93
Learn more about scoring.

We analyzed this package on Mar 6, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/flutter_signature_pad.dart.

Run flutter format to format lib/flutter_signature_pad.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test