Skip to content

support flutter 3.38.x#50

Closed
williamhjcho wants to merge 58 commits intonubank:masterfrom
williamhjcho:bump-flutter-3.8.x
Closed

support flutter 3.38.x#50
williamhjcho wants to merge 58 commits intonubank:masterfrom
williamhjcho:bump-flutter-3.8.x

Conversation

@williamhjcho
Copy link
Copy Markdown
Contributor

No description provided.

Adds AssetBundleLocalizationDataSource.cache property and bumps dependencies
Now they will throw a dedicated exception while calling splitMapJoin,
where the translator catches and handles it
If the key is immediatelly being reused after nesting, stops immediately
Refactors interpolation/nesting with specialized exceptions
Refactors format parsing and formatters in options
When the interpolation hasn't resolved into a string, it will call the
missingInterpolationHandler one last time before finishing.
…dler

Fix missingInterpolationHandler to also call for objects
feat: adds escaping variables by default
dart throws when trying to do a nullable type cast like so

```dart
someObject as int?
```

so we have to do a `is` check beforehand

```dart
someObject is int ? someObject as int : null;
```
fix: count and context casting
williamhjcho and others added 28 commits August 19, 2022 17:30
…ey cannot be found (throw or fallback translation)

Add tOrNull function that returns null if the translation cannot be found
[feature]: add getNamespace to ResourceStore
when the data source is synchronous, just do an extra microtask scheduling, keep chaining operations in the same stack/thread.
fix localization delegate synchronous loading of data source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants