Skip to content

Commit

Permalink
Merge pull request #64 from vanlooverenkoen/fixed-2.14.0-issue
Browse files Browse the repository at this point in the history
Fixed 2.14.0 issue
  • Loading branch information
vanlooverenkoen committed Nov 12, 2021
2 parents bc163a2 + 8165ed9 commit cb1a421
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog
## [4.0.0] - 2021-11-12
Breaking
- Dart 2.14.0 is minimum dart version
- Fixed an issue where `kDebugMode` moved to another import

## [3.7.0] - 2021-11-02
- Added better import sorting (alphabetic) so the analyzer won't break everytime

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A project used to demo the Todo Reporter
version: 1.0.0+1

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.14.0 <3.0.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/locale_gen_writer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class LocaleGenWriter {
..writeln("import 'dart:async';")
..writeln();
[
"import 'package:flutter/services.dart';",
"import 'package:flutter/foundation.dart';",
"import 'package:flutter/widgets.dart';",
"import 'package:${params.projectName}/util/locale/localization.dart';",
"import 'package:${params.projectName}/util/locale/localization_overrides.dart';",
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: locale_gen
description: Dart tool that will convert your default locale json to dart code.
version: 3.7.0
version: 4.0.0
homepage: https://github.com/vanlooverenkoen/locale_gen

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.14.0 <3.0.0"

dependencies:
intl: ^0.17.0
Expand Down

0 comments on commit cb1a421

Please sign in to comment.