Skip to content

Commit 2e95cea

Browse files
committed
Switch DateFormat locale without using didChangeDependencies. Fixes #496
1 parent b8e1a02 commit 2e95cea

File tree

10 files changed

+123
-80
lines changed

10 files changed

+123
-80
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [4.0.0-pre.5] - 24-Oct-2020
2+
* Number of Chips to be selected in FilterChip can now be limited by setting `maxChips` attribute. Closes #500
3+
* After calling patchValue on TextField, take cursor to end of text. Closes #477
4+
* Fix compile error in SearchableDropdown caused by breacking change in `dropdown_search` package. Closes #507
5+
* Fixed bug: calling patchValue on DateTimePIcker doesn't update TextField. Closes #505
6+
* Fixed regression in DateTimePicker where field didn't work. Closes #496
7+
* Documentation improvements
8+
19
## [4.0.0-pre.4] - 06-Oct-2020
210
* Added new field: FilePicker
311
* Included v3 to v4 migration guide to README

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Buy me a coffee](https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png)](https://buymeacoff.ee/wb5M9y2Sz)
2+
<a href=""><img height=35 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAa8AAAB1CAMAAADOZ57OAAAAnFBMVEX7Zk7///8FKkn7YEb7ZU37X0X7Y0r7XEL7Zk0AKEn/ak79ysOBREv8npFwQ0v7aFD+1tH+4Nz7WDz/9fT8inr+6uf/8fD8g3D8sqn8qJ38lof7bFb/+vr8fGr+wrr8dGD8kIH9taz9vbTRW03+5eL9rKH7dWH7b1n8hnP+zcf+2NP8oZT8k4T9v7b8mYz9xb77UjTiYE1oQkv7TS3GwuLDAAAUw0lEQVR4nO2daYObvhGHcXXg1nW58WLAV23j29v2+3+3Io0EEocNSTb25s8vb7KYQ/AgaTQaDcaortC5R34aW8ag18iKUz+6O2EDG6O2xY5mMaEU41eX+i8sjCkl8Syyn/EKN0sTDaTeQxiZy034iNd9RgZY7y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wVPL1T9lWk/XS6rl6yDqf9H3l39ejR/c/Rb6wpKj6Cu/bz7oV4ssDCd+vtugN1HsGOHsWzY6f0nhWWiMenVgg16pfERojOxhLfF3EbFzXqPmLIGD3k54OWK8rkMF+x4iV85rsDi+hzBzvrFlMnfz+c6DXi4e8c+XNTXmJR70XoLIf87LGZIRvr3Ex4ph2eBiGIO9u8RifuA1DJrfXTLYWPCqxEAPejOhaaLxgkwFg95U5ScZCl5JNOQkfFNhFCU1Xiw5xmDWv6NopmTmUniNnAMZiL2bKDmoQTwqr7yKzRpzPw56lTCZ6WnvdF6jcLMkQz/2JsKILDeVTCYVXrnsaBYTSvFA7XXCmFISz6L6epo6Lxa5voj8/RDX8TrFez9aOE2ZuP4PtSzlGDy59DAAAAAASUVORK5CYII="></a>
23

34
# Flutter FormBuilder - flutter_form_builder
45

example/android/settings_aar.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ':app'

lib/l10n/messages_all.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ MessageLookupByLibrary _findExact(String localeName) {
3838
/// User programs should call this before using [localeName] for messages.
3939
Future<bool> initializeMessages(String localeName) async {
4040
var availableLocale = Intl.verifiedLocale(
41-
localeName,
42-
(locale) => _deferredLibraries[locale] != null,
43-
onFailure: (_) => null);
41+
localeName, (locale) => _deferredLibraries[locale] != null,
42+
onFailure: (_) => null);
4443
if (availableLocale == null) {
4544
return new Future.value(false);
4645
}
@@ -60,8 +59,8 @@ bool _messagesExistFor(String locale) {
6059
}
6160

6261
MessageLookupByLibrary _findGeneratedMessagesFor(String locale) {
63-
var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor,
64-
onFailure: (_) => null);
62+
var actualLocale =
63+
Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
6564
if (actualLocale == null) return null;
6665
return _findExact(actualLocale);
6766
}

lib/l10n/messages_en.dart

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,35 @@ class MessageLookup extends MessageLookupByLibrary {
2121

2222
static m0(max) => "Value must be less than or equal to ${max}";
2323

24-
static m1(maxLength) => "Value must have a length less than or equal to ${maxLength}";
24+
static m1(maxLength) =>
25+
"Value must have a length less than or equal to ${maxLength}";
2526

2627
static m2(min) => "Value must be greater than or equal to ${min}.";
2728

28-
static m3(minLength) => "Value must have a length greater than or equal to ${minLength}";
29+
static m3(minLength) =>
30+
"Value must have a length greater than or equal to ${minLength}";
2931

3032
final messages = _notInlinedMessages(_notInlinedMessages);
31-
static _notInlinedMessages(_) => <String, Function> {
32-
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid credit card number."),
33-
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid date string."),
34-
"emailErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid email address."),
35-
"ipErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid IP."),
36-
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Value does not match pattern."),
37-
"maxErrorText" : m0,
38-
"maxLengthErrorText" : m1,
39-
"minErrorText" : m2,
40-
"minLengthErrorText" : m3,
41-
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Value must be numeric."),
42-
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
43-
"urlErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid URL address.")
44-
};
33+
static _notInlinedMessages(_) => <String, Function>{
34+
"creditCardErrorText": MessageLookupByLibrary.simpleMessage(
35+
"This field requires a valid credit card number."),
36+
"dateStringErrorText": MessageLookupByLibrary.simpleMessage(
37+
"This field requires a valid date string."),
38+
"emailErrorText": MessageLookupByLibrary.simpleMessage(
39+
"This field requires a valid email address."),
40+
"ipErrorText": MessageLookupByLibrary.simpleMessage(
41+
"This field requires a valid IP."),
42+
"matchErrorText": MessageLookupByLibrary.simpleMessage(
43+
"Value does not match pattern."),
44+
"maxErrorText": m0,
45+
"maxLengthErrorText": m1,
46+
"minErrorText": m2,
47+
"minLengthErrorText": m3,
48+
"numericErrorText":
49+
MessageLookupByLibrary.simpleMessage("Value must be numeric."),
50+
"requiredErrorText":
51+
MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
52+
"urlErrorText": MessageLookupByLibrary.simpleMessage(
53+
"This field requires a valid URL address.")
54+
};
4555
}

lib/l10n/messages_es.dart

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,35 @@ class MessageLookup extends MessageLookupByLibrary {
2121

2222
static m0(max) => "El valor debe ser menor o igual que ${max}.";
2323

24-
static m1(maxLength) => "El valor debe tener una longitud menor o igual a ${maxLength}";
24+
static m1(maxLength) =>
25+
"El valor debe tener una longitud menor o igual a ${maxLength}";
2526

2627
static m2(min) => "El valor debe ser mayor o igual que ${min}.";
2728

28-
static m3(minLength) => "El valor debe tener una longitud mayor o igual a ${minLength}";
29+
static m3(minLength) =>
30+
"El valor debe tener una longitud mayor o igual a ${minLength}";
2931

3032
final messages = _notInlinedMessages(_notInlinedMessages);
31-
static _notInlinedMessages(_) => <String, Function> {
32-
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere un número de tarjeta de crédito válido."),
33-
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una cadena de fecha válida."),
34-
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una dirección de correo electrónico válida."),
35-
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una IP válida."),
36-
"matchErrorText" : MessageLookupByLibrary.simpleMessage("El valor no coincide con el patrón requerido."),
37-
"maxErrorText" : m0,
38-
"maxLengthErrorText" : m1,
39-
"minErrorText" : m2,
40-
"minLengthErrorText" : m3,
41-
"numericErrorText" : MessageLookupByLibrary.simpleMessage("El valor debe ser numérico."),
42-
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Este campo no puede estar vacío."),
43-
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una dirección URL válida.")
44-
};
33+
static _notInlinedMessages(_) => <String, Function>{
34+
"creditCardErrorText": MessageLookupByLibrary.simpleMessage(
35+
"Este campo requiere un número de tarjeta de crédito válido."),
36+
"dateStringErrorText": MessageLookupByLibrary.simpleMessage(
37+
"Este campo requiere una cadena de fecha válida."),
38+
"emailErrorText": MessageLookupByLibrary.simpleMessage(
39+
"Este campo requiere una dirección de correo electrónico válida."),
40+
"ipErrorText": MessageLookupByLibrary.simpleMessage(
41+
"Este campo requiere una IP válida."),
42+
"matchErrorText": MessageLookupByLibrary.simpleMessage(
43+
"El valor no coincide con el patrón requerido."),
44+
"maxErrorText": m0,
45+
"maxLengthErrorText": m1,
46+
"minErrorText": m2,
47+
"minLengthErrorText": m3,
48+
"numericErrorText":
49+
MessageLookupByLibrary.simpleMessage("El valor debe ser numérico."),
50+
"requiredErrorText": MessageLookupByLibrary.simpleMessage(
51+
"Este campo no puede estar vacío."),
52+
"urlErrorText": MessageLookupByLibrary.simpleMessage(
53+
"Este campo requiere una dirección URL válida.")
54+
};
4555
}

lib/l10n/messages_messages.dart

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,36 @@ class MessageLookup extends MessageLookupByLibrary {
2323

2424
static m0(max) => "Value must be less than or equal to ${max}";
2525

26-
static m1(maxLength) => "Value must have a length less than or equal to ${maxLength}";
26+
static m1(maxLength) =>
27+
"Value must have a length less than or equal to ${maxLength}";
2728

2829
static m2(min) => "Value must be greater than or equal to ${min}.";
2930

30-
static m3(minLength) => "Value must have a length greater than or equal to ${minLength}";
31+
static m3(minLength) =>
32+
"Value must have a length greater than or equal to ${minLength}";
3133

3234
final messages = _notInlinedMessages(_notInlinedMessages);
33-
static _notInlinedMessages(_) => <String, Function> {
34-
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid credit card number."),
35-
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid date string."),
36-
"emailErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid email address."),
37-
"equalErrorText" : m4,
38-
"ipErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid IP."),
39-
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Value does not match pattern."),
40-
"maxErrorText" : m0,
41-
"maxLengthErrorText" : m1,
42-
"minErrorText" : m2,
43-
"minLengthErrorText" : m3,
44-
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Value must be numeric."),
45-
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
46-
"urlErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid URL address.")
47-
};
35+
static _notInlinedMessages(_) => <String, Function>{
36+
"creditCardErrorText": MessageLookupByLibrary.simpleMessage(
37+
"This field requires a valid credit card number."),
38+
"dateStringErrorText": MessageLookupByLibrary.simpleMessage(
39+
"This field requires a valid date string."),
40+
"emailErrorText": MessageLookupByLibrary.simpleMessage(
41+
"This field requires a valid email address."),
42+
"equalErrorText": m4,
43+
"ipErrorText": MessageLookupByLibrary.simpleMessage(
44+
"This field requires a valid IP."),
45+
"matchErrorText": MessageLookupByLibrary.simpleMessage(
46+
"Value does not match pattern."),
47+
"maxErrorText": m0,
48+
"maxLengthErrorText": m1,
49+
"minErrorText": m2,
50+
"minLengthErrorText": m3,
51+
"numericErrorText":
52+
MessageLookupByLibrary.simpleMessage("Value must be numeric."),
53+
"requiredErrorText":
54+
MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
55+
"urlErrorText": MessageLookupByLibrary.simpleMessage(
56+
"This field requires a valid URL address.")
57+
};
4858
}

0 commit comments

Comments
 (0)