We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5289086 commit a1b2122Copy full SHA for a1b2122
lib/src/fields/form_builder_signature_pad.dart
@@ -78,13 +78,12 @@ class FormBuilderSignaturePad extends FormBuilderField<Uint8List> {
78
width: width,
79
decoration: BoxDecoration(
80
border: border,
81
- image: (state.enabled &&
82
- (null != initialValue &&
83
- initialValue != state.value))
84
- ? null
85
- : DecorationImage(
86
- image: MemoryImage(state.value),
87
- ),
+ image:
+ (null != initialValue && initialValue == state.value)
+ ? DecorationImage(
+ image: MemoryImage(state.value),
+ )
+ : null,
88
),
89
child: state.enabled
90
? GestureDetector(
0 commit comments