Skip to content

Commit

Permalink
release: 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Mar 13, 2021
1 parent 92d5464 commit 011fa67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 3.0.0-nullsafety.4
## 3.0.0

- null safety support
- add type-safe functions `LocaleSettings.setLocaleTyped` and `LocaleSettings.currentLocaleTyped`
Expand Down
3 changes: 1 addition & 2 deletions lib/builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class I18nBuilder implements Builder {
final String? outputDirectory = options.config['output_directory'];
final String translateVar =
options.config['translate_var'] ?? defaultTranslateVar;
final String enumName =
options.config['enum_name'] ?? defaultEnumName;
final String enumName = options.config['enum_name'] ?? defaultEnumName;
final String? keyCase = options.config['key_case'];
final List<String> maps = options.config['maps']?.cast<String>() ?? [];

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: fast_i18n
description: Lightweight i18n solution. Use JSON files to create typesafe translations.
version: 3.0.0-nullsafety.4
version: 3.0.0
homepage: https://github.com/Tienisto/flutter-fast-i18n

environment:
Expand Down

0 comments on commit 011fa67

Please sign in to comment.