diff --git a/lib/searchable_dropdown.dart b/lib/searchable_dropdown.dart index cb9a2f4..f6f6e8b 100644 --- a/lib/searchable_dropdown.dart +++ b/lib/searchable_dropdown.dart @@ -373,10 +373,10 @@ class _SearchableDropdownState extends State> { TextStyle get _textStyle => widget.style ?? (_enabled && !(widget.readOnly ?? false) - ? Theme.of(context).textTheme.subhead + ? Theme.of(context).textTheme.subtitle1 : Theme.of(context) .textTheme - .subhead + .subtitle1 .copyWith(color: _disabledIconColor)); bool get _enabled => widget.items != null &&