File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
lib/src/generate_screen_access Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11
11
import 'package:df_gen_core/df_gen_core.dart' ;
12
12
import 'package:df_log/df_log.dart' ;
13
13
14
+ import '_extract_class_insights_from_dart_file.dart' ;
15
+
14
16
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
15
17
16
18
Future <void > generateScreenAccess ({
@@ -63,15 +65,15 @@ Future<void> generateScreenAccess({
63
65
);
64
66
65
67
// 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 )) {
68
70
final filePath = filePathResult.path;
69
71
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
+ );
75
77
76
78
// if (classInsights.isNotEmpty) {
77
79
// // Converge what was gathered to generate the output.
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
12
+ version : 0.1.0+1
13
13
repository : https://github.com/robmllze/df_generate_screen
14
14
15
15
# # -----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments