File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
lib/src/generate_screen_bindings Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ Future<void> generateScreenBindings({
65
65
fallbackDartSdkPath,
66
66
);
67
67
68
- final classInsights = < ClassInsight <ModelGenerateScreenBindings >> [];
68
+ final insights = < ClassInsight <ModelGenerateScreenBindings >> [];
69
69
70
70
// For each file...
71
71
for (final filePathResult in sourceFileExplorerResults.filePathResults
@@ -78,15 +78,18 @@ Future<void> generateScreenBindings({
78
78
filePath,
79
79
);
80
80
81
- classInsights.addAll (temp);
81
+ printBlue (filePath);
82
+ printRed (temp.length);
83
+
84
+ insights.addAll (temp);
82
85
}
83
86
84
87
// ---------------------------------------------------------------------------
85
88
86
- if (classInsights .isNotEmpty) {
89
+ if (insights .isNotEmpty) {
87
90
// Converge what was gathered to generate the output.
88
91
await generatorConverger.converge (
89
- classInsights ,
92
+ insights ,
90
93
[template],
91
94
insightMappers,
92
95
);
Original file line number Diff line number Diff line change 9
9
10
10
name : df_generate_screen
11
11
description : " A tool to generate ready-made screen templates for your Flutter app (uses df_sceen) #CodeGenerator"
12
- version : 0.1.0+2
12
+ version : 0.1.0+3
13
13
repository : https://github.com/robmllze/df_generate_screen
14
14
publish_to : none
15
15
Original file line number Diff line number Diff line change 8
8
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
9
9
//.title~
10
10
11
-
12
11
import '/_common.dart';
13
12
14
13
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Original file line number Diff line number Diff line change 10
10
11
11
import 'package:df_screen_core/df_screen_core.dart';
12
12
13
- part '../v1/ _bindings.g.dart';
14
- part '../v1/ _controller.dart';
15
- part '../v1/ _view.dart';
13
+ part '_bindings.g.dart';
14
+ part '_controller.dart';
15
+ part '_view.dart';
16
16
17
17
___PARTS___
18
18
You can’t perform that action at this time.
0 commit comments