Skip to content

Commit

Permalink
add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cedvandenbosch committed Nov 10, 2024
1 parent cd031e4 commit 961e22e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [10.0.1]

- Add forgotten deprecation warning

## [10.0.0]

- Add missing countries and favorites params to CountrySelectorNavigator.page factory
Expand Down
2 changes: 2 additions & 0 deletions lib/src/country_selector_navigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ abstract class CountrySelectorNavigator {
TextStyle? searchBoxTextStyle,
Color? searchBoxIconColor,
ScrollPhysics? scrollPhysics,
@Deprecated('Use [Theme] instead to wrap the input, this has no effetct')
ThemeData? appBarTheme,
}) = PageNavigator._;

Expand Down Expand Up @@ -233,6 +234,7 @@ class PageNavigator extends CountrySelectorNavigator {
super.searchBoxTextStyle,
super.searchBoxIconColor,
super.scrollPhysics,
@Deprecated('Use [Theme] instead to wrap the input, this has no effetct')
this.appBarTheme,
});

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: phone_form_field
description: Flutter phone input integrated with flutter internationalization
version: 10.0.0
version: 10.0.1
homepage: https://github.com/cedvdb/phone_form_field

environment:
Expand Down

0 comments on commit 961e22e

Please sign in to comment.