Skip to content

Commit 2794276

Browse files
committed
Added a Horizontal Drag Update handler along with the Vertical Drag Update handler so that signatures can be best captured.
1 parent c22c4f9 commit 2794276

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/fields/form_builder_signature_pad.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class FormBuilderSignaturePad extends FormBuilderField<Uint8List> {
7070
Container(
7171
decoration: BoxDecoration(border: border),
7272
child: GestureDetector(
73+
onHorizontalDragUpdate: (_) {},
7374
onVerticalDragUpdate: (_) {},
7475
child: Signature(
7576
controller: state._controller,

0 commit comments

Comments
 (0)