Last updated:
0 purchases
signature kit
A Flutter package for drawing smooth signatures, easy to export image data.
Getting started #
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
signature_kit: ^1.0.1
copied to clipboard
Usage #
import 'package:signature_kit/signature_kit.dart';
SignatureController controller = SignatureController(
backgroundColor: Colors.black,
color: Colors.white,
strokeWidth: 3,
);
Signature(controller: controller)
// export to png
final pngData = await controller.toImage(pixelRatio: MediaQuery.of(context).devicePixelRatio, format: ImageByteFormat.png);
//clear
controller.clear();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.