Skip to content

Commit

Permalink
Merge pull request #83 from FlutterGen/workaround-nnbd
Browse files Browse the repository at this point in the history
chore(generator): workaround nnbd #75
  • Loading branch information
wasabeef authored Feb 20, 2021
2 parents 7eac2f4 + f605936 commit 992fd75
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/lib/generators/generator_helper.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
String get header {
return '''/// GENERATED CODE - DO NOT MODIFY BY HAND
return '''// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
/// *****************************************************
Expand Down
1 change: 1 addition & 0 deletions packages/core/test_resources/actual_data/assets.gen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
1 change: 1 addition & 0 deletions packages/core/test_resources/actual_data/colors.gen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down
1 change: 1 addition & 0 deletions packages/core/test_resources/actual_data/fonts.gen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @dart = 2.10
/// GENERATED CODE - DO NOT MODIFY BY HAND
/// *****************************************************
/// FlutterGen
Expand Down

0 comments on commit 992fd75

Please sign in to comment.