Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9.0.0 #216

Merged
merged 48 commits into from
Feb 5, 2024
Merged

9.0.0 #216

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
256ae4e
fix: disable country chip when field is disabled (#202)
sidlatau Dec 7, 2023
e3ea799
add ku and ckb translations (#209)
ahmadnajmdev Feb 2, 2024
ff66aa2
fix: copy/paste wasn't possible due to context menu builder being pas…
simplenotezy Feb 2, 2024
7ca1521
bugfix: close keyboard on scroll (#162)
simplenotezy Feb 2, 2024
3ba04e3
feature: autofill country (#163)
simplenotezy Feb 2, 2024
823bd7d
feat: add ability to customise search delegate app bar theme (#208)
sidlatau Feb 2, 2024
bbe10d8
fix merge issue
cedvdb Feb 2, 2024
66a45de
remove generated files from git
cedvdb Feb 2, 2024
b9c593a
saving
cedvdb Feb 2, 2024
07358b2
refactor
cedvdb Feb 2, 2024
0513504
improve search ux
cedvdb Feb 2, 2024
0bd9308
refactor
cedvdb Feb 2, 2024
a0a953e
saving
cedvdb Feb 2, 2024
72176d8
refactor
cedvdb Feb 3, 2024
48bf65c
rm
cedvdb Feb 3, 2024
e797434
upgrade flag cache
cedvdb Feb 3, 2024
e5cb97b
cache
cedvdb Feb 3, 2024
aec5029
saving
cedvdb Feb 3, 2024
ba8461e
refa
cedvdb Feb 4, 2024
0479897
refactor
cedvdb Feb 4, 2024
7884258
comment
cedvdb Feb 4, 2024
16b495f
validation
cedvdb Feb 4, 2024
4896d87
moving tests
cedvdb Feb 4, 2024
9a44ab2
saving
cedvdb Feb 4, 2024
16db2d4
language
cedvdb Feb 4, 2024
604629b
fixing tests
cedvdb Feb 4, 2024
257f032
fix tests
cedvdb Feb 4, 2024
deb3627
saving
cedvdb Feb 4, 2024
8dda4e8
saving
cedvdb Feb 4, 2024
e8f57e2
saving
cedvdb Feb 4, 2024
08c64c4
fix all tests
cedvdb Feb 4, 2024
97b2388
Refactor (#212)
cedvdb Feb 4, 2024
d9bd40b
localization
cedvdb Feb 5, 2024
9a3a16a
readd example
cedvdb Feb 5, 2024
38530e3
localization
cedvdb Feb 5, 2024
1d1418b
dart fix
cedvdb Feb 5, 2024
242f81c
external country selector
cedvdb Feb 5, 2024
7c92c87
Merge branch 'dev' of github.com:cedvdb/phone_form_field into dev
cedvdb Feb 5, 2024
0f74c74
cc
cedvdb Feb 5, 2024
efa4f77
Merge branch 'dev' into external_country_selector
cedvdb Feb 5, 2024
06eb61d
External country selector (#213)
cedvdb Feb 5, 2024
73a55ea
dart fix
cedvdb Feb 5, 2024
2ab89dc
bump version
cedvdb Feb 5, 2024
53c138e
Merge branch 'main' of github.com:cedvdb/phone_form_field
cedvdb Feb 5, 2024
bbc6ece
External country selector (#215)
cedvdb Feb 5, 2024
1acbde3
Merge branch 'dev' of github.com:cedvdb/phone_form_field into dev
cedvdb Feb 5, 2024
d3d9d41
mv
cedvdb Feb 5, 2024
284ae45
Merge branch 'main' into dev
cedvdb Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ packages:
path: ".."
relative: true
source: path
version: "8.1.1"
version: "9.0.0"
phone_numbers_parser:
dependency: transitive
description:
Expand Down
80 changes: 0 additions & 80 deletions lib/src/country/country_button.dart

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Arabic (`ar`).
class PhoneFieldLocalizationImplAr extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplAr([String locale = 'ar']) : super(locale);
PhoneFieldLocalizationImplAr([super.locale = 'ar']);

@override
String get invalidPhoneNumber => 'رقم الهاتف غير صحيح';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Central Kurdish (`ckb`).
class PhoneFieldLocalizationImplCkb extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplCkb([String locale = 'ckb']) : super(locale);
PhoneFieldLocalizationImplCkb([super.locale = 'ckb']);

@override
String get invalidPhoneNumber => 'ژمارەی تەلەفۆنی نادروست';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for German (`de`).
class PhoneFieldLocalizationImplDe extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplDe([String locale = 'de']) : super(locale);
PhoneFieldLocalizationImplDe([super.locale = 'de']);

@override
String get invalidPhoneNumber => 'Ungültige Telefonnummer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Modern Greek (`el`).
class PhoneFieldLocalizationImplEl extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplEl([String locale = 'el']) : super(locale);
PhoneFieldLocalizationImplEl([super.locale = 'el']);

@override
String get invalidPhoneNumber => 'Μη έγκυρος αριθμός τηλεφώνου';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for English (`en`).
class PhoneFieldLocalizationImplEn extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplEn([String locale = 'en']) : super(locale);
PhoneFieldLocalizationImplEn([super.locale = 'en']);

@override
String get invalidPhoneNumber => 'Invalid phone number';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Spanish Castilian (`es`).
class PhoneFieldLocalizationImplEs extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplEs([String locale = 'es']) : super(locale);
PhoneFieldLocalizationImplEs([super.locale = 'es']);

@override
String get invalidPhoneNumber => 'Numero de telefono invalido';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Persian (`fa`).
class PhoneFieldLocalizationImplFa extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplFa([String locale = 'fa']) : super(locale);
PhoneFieldLocalizationImplFa([super.locale = 'fa']);

@override
String get invalidPhoneNumber => 'شماره تلفن نامعتبر است';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for French (`fr`).
class PhoneFieldLocalizationImplFr extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplFr([String locale = 'fr']) : super(locale);
PhoneFieldLocalizationImplFr([super.locale = 'fr']);

@override
String get invalidPhoneNumber => 'Numéro de téléphone invalide';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Hindi (`hi`).
class PhoneFieldLocalizationImplHi extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplHi([String locale = 'hi']) : super(locale);
PhoneFieldLocalizationImplHi([super.locale = 'hi']);

@override
String get invalidPhoneNumber => 'अवैध फोन नंबर';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Italian (`it`).
class PhoneFieldLocalizationImplIt extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplIt([String locale = 'it']) : super(locale);
PhoneFieldLocalizationImplIt([super.locale = 'it']);

@override
String get invalidPhoneNumber => 'Numero di telefono invalido';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Kurdish (`ku`).
class PhoneFieldLocalizationImplKu extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplKu([String locale = 'ku']) : super(locale);
PhoneFieldLocalizationImplKu([super.locale = 'ku']);

@override
String get invalidPhoneNumber => 'ژمارەی تەلەفۆنی نادروست';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Norwegian Bokmål (`nb`).
class PhoneFieldLocalizationImplNb extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplNb([String locale = 'nb']) : super(locale);
PhoneFieldLocalizationImplNb([super.locale = 'nb']);

@override
String get invalidPhoneNumber => 'Ugyldig telefonnummer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Dutch Flemish (`nl`).
class PhoneFieldLocalizationImplNl extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplNl([String locale = 'nl']) : super(locale);
PhoneFieldLocalizationImplNl([super.locale = 'nl']);

@override
String get invalidPhoneNumber => 'Ongeldig telefoonnummer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Portuguese (`pt`).
class PhoneFieldLocalizationImplPt extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplPt([String locale = 'pt']) : super(locale);
PhoneFieldLocalizationImplPt([super.locale = 'pt']);

@override
String get invalidPhoneNumber => 'Número de telefone inválido';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Russian (`ru`).
class PhoneFieldLocalizationImplRu extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplRu([String locale = 'ru']) : super(locale);
PhoneFieldLocalizationImplRu([super.locale = 'ru']);

@override
String get invalidPhoneNumber => 'Неправильный номер телефона';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Swedish (`sv`).
class PhoneFieldLocalizationImplSv extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplSv([String locale = 'sv']) : super(locale);
PhoneFieldLocalizationImplSv([super.locale = 'sv']);

@override
String get invalidPhoneNumber => 'Ogiltigt telefonnummer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Turkish (`tr`).
class PhoneFieldLocalizationImplTr extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplTr([String locale = 'tr']) : super(locale);
PhoneFieldLocalizationImplTr([super.locale = 'tr']);

@override
String get invalidPhoneNumber => 'Geçersiz telefon numarası';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Ukrainian (`uk`).
class PhoneFieldLocalizationImplUk extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplUk([String locale = 'uk']) : super(locale);
PhoneFieldLocalizationImplUk([super.locale = 'uk']);

@override
String get invalidPhoneNumber => 'Невірний номер телефону';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Uzbek (`uz`).
class PhoneFieldLocalizationImplUz extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplUz([String locale = 'uz']) : super(locale);
PhoneFieldLocalizationImplUz([super.locale = 'uz']);

@override
String get invalidPhoneNumber => 'Telefon raqami noto‘g‘ri';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'phone_field_localization_impl.dart';

/// The translations for Chinese (`zh`).
class PhoneFieldLocalizationImplZh extends PhoneFieldLocalizationImpl {
PhoneFieldLocalizationImplZh([String locale = 'zh']) : super(locale);
PhoneFieldLocalizationImplZh([super.locale = 'zh']);

@override
String get invalidPhoneNumber => '无效的电话号码';
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: 8.1.1
version: 9.0.0
homepage: https://github.com/cedvdb/phone_form_field

environment:
Expand Down
Loading