Skip to content

Commit 09f8f10

Browse files
committed
Update
1 parent b2cf338 commit 09f8f10

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

lib/src/generate_screen_bindings/generate.dart

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Future<void> generateScreenBindings({
6565
fallbackDartSdkPath,
6666
);
6767

68-
final classInsights = <ClassInsight<ModelGenerateScreenBindings>>[];
68+
final insights = <ClassInsight<ModelGenerateScreenBindings>>[];
6969

7070
// For each file...
7171
for (final filePathResult in sourceFileExplorerResults.filePathResults
@@ -78,15 +78,18 @@ Future<void> generateScreenBindings({
7878
filePath,
7979
);
8080

81-
classInsights.addAll(temp);
81+
printBlue(filePath);
82+
printRed(temp.length);
83+
84+
insights.addAll(temp);
8285
}
8386

8487
// ---------------------------------------------------------------------------
8588

86-
if (classInsights.isNotEmpty) {
89+
if (insights.isNotEmpty) {
8790
// Converge what was gathered to generate the output.
8891
await generatorConverger.converge(
89-
classInsights,
92+
insights,
9093
[template],
9194
insightMappers,
9295
);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
name: df_generate_screen
1111
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
1313
repository: https://github.com/robmllze/df_generate_screen
1414
publish_to: none
1515

templates/msm1/access.dart.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
//.title~
1010
11-
1211
import '/_common.dart';
1312
1413
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

templates/msm1/screen.dart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
1111
import 'package:df_screen_core/df_screen_core.dart';
1212
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';
1616
1717
___PARTS___
1818

0 commit comments

Comments
 (0)