From 638164ba95b95916a90dcf2a3a37ef580873a248 Mon Sep 17 00:00:00 2001 From: joeriddles Date: Mon, 19 Aug 2024 12:27:42 -0700 Subject: [PATCH] Add support for passing doubles in toSvg --- lib/src/signature_control.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/signature_control.dart b/lib/src/signature_control.dart index 9d18426..5965695 100644 --- a/lib/src/signature_control.dart +++ b/lib/src/signature_control.dart @@ -945,8 +945,8 @@ class HandSignatureControl extends ChangeNotifier { /// [type] - data structure. String? toSvg({ SignatureDrawType type = SignatureDrawType.shape, - int width = 512, - int height = 256, + num width = 512, + num height = 256, double border = 0.0, Color? color, double? strokeWidth,