Skip to content

Commit be5619b

Browse files
fix: Replace deprecated property
1 parent a2ad162 commit be5619b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_signature_pad.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class FormBuilderSignaturePad extends FormBuilderField<Uint8List> {
7474
final theme = Theme.of(state.context);
7575
final localizations = MaterialLocalizations.of(state.context);
7676
final cancelButtonColor =
77-
state.enabled ? theme.errorColor : theme.disabledColor;
77+
state.enabled ? theme.colorScheme.error : theme.disabledColor;
7878

7979
return InputDecorator(
8080
decoration: state.decoration,

0 commit comments

Comments
 (0)