Skip to content

Commit 641badc

Browse files
committed
Fixed bug signature pad not working - unmodifiable list
1 parent 6e6baa2 commit 641badc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/fields/form_builder_signature_pad.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FormBuilderSignaturePad extends StatefulWidget {
3333
this.penStrokeWidth = 3.0,
3434
this.clearButtonText = "Clear",
3535
this.initialValue,
36-
this.points = const [],
36+
this.points,
3737
this.width,
3838
this.height = 200,
3939
this.valueTransformer,

lib/src/widgets/signature.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class SignatureState extends State<Signature> {
105105
);
106106

107107
if (widget.width != null || widget.height != null) {
108-
//IF DOUNDARIES ARE DEFINED, USE LIMITED BOX
108+
//IF BOUNDARIES ARE DEFINED, USE LIMITED BOX
109109
return Center(
110110
child: LimitedBox(
111111
maxWidth: maxWidth,

0 commit comments

Comments
 (0)