Skip to content

Commit 3c08c0d

Browse files
committed
Update
1 parent 27d7edb commit 3c08c0d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

lib/src/generate_screen_access/generator.dart

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import 'package:df_gen_core/df_gen_core.dart';
1212
import 'package:df_log/df_log.dart';
1313

14+
import '_extract_class_insights_from_dart_file.dart';
15+
1416
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
1517

1618
Future<void> generateScreenAccess({
@@ -63,15 +65,15 @@ Future<void> generateScreenAccess({
6365
);
6466

6567
// For each file...
66-
for (final filePathResult in sourceFileExplorerResults.filePathResults
67-
.where((e) => e.category == _Categories.DART)) {
68+
for (final filePathResult
69+
in sourceFileExplorerResults.filePathResults.where((e) => e.category == _Categories.DART)) {
6870
final filePath = filePathResult.path;
6971

70-
// // Extract insights from the file.
71-
// final classInsights = await extractClassInsightsFromDartFile(
72-
// analysisContextCollection,
73-
// filePath,
74-
// );
72+
// Extract insights from the file.
73+
final classInsights = await extractClassInsightsFromDartFile(
74+
analysisContextCollection,
75+
filePath,
76+
);
7577

7678
// if (classInsights.isNotEmpty) {
7779
// // Converge what was gathered to generate the output.

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
12+
version: 0.1.0+1
1313
repository: https://github.com/robmllze/df_generate_screen
1414

1515
## -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)