Skip to content

Commit 970fb85

Browse files
fix: Replace deprecated property
1 parent be5619b commit 970fb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_typeahead.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class FormBuilderTypeAhead<T> extends FormBuilderField<T> {
325325
controller: state._typeAheadController,
326326
style: state.enabled
327327
? textFieldConfiguration.style
328-
: theme.textTheme.subtitle1!.copyWith(
328+
: theme.textTheme.titleMedium!.copyWith(
329329
color: theme.disabledColor,
330330
),
331331
focusNode: state.effectiveFocusNode,

0 commit comments

Comments
 (0)