File tree Expand file tree Collapse file tree 9 files changed +61
-13
lines changed Expand file tree Collapse file tree 9 files changed +61
-13
lines changed Original file line number Diff line number Diff line change @@ -78,17 +78,14 @@ Future<void> generateScreen({
78
78
),
79
79
);
80
80
81
- final screenClassKey = screenName.toSnakeCase ();
82
-
83
81
final insight = Insight (
84
82
screenClassName: screenName.toPascalCase (),
85
83
bindingsFileName: '_bindings.g.dart' ,
86
84
controllerFileName: '_controller.dart' ,
87
- screenFileName: '$screenClassKey .dart' ,
85
+ screenFileName: '${ screenName . toSnakeCase ()} .dart' ,
88
86
viewFileName: '_view.dart' ,
89
87
isAccessibleOnlyIfLoggedIn: isAccessibleOnlyIfLoggedIn,
90
- isAccessibleOnlyIfLoggedInAndVerified:
91
- isAccessibleOnlyIfLoggedInAndVerified,
88
+ isAccessibleOnlyIfLoggedInAndVerified: isAccessibleOnlyIfLoggedInAndVerified,
92
89
isAccessibleOnlyIfLoggedOut: isAccessibleOnlyIfLoggedOut,
93
90
isRedirectable: isRedirectable,
94
91
internalParameters: internalParameters,
Original file line number Diff line number Diff line change 2
2
//.title
3
3
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
4
4
//
5
- // GENERATED BY 🇽🇾🇿 GEN - DO NOT MODIFY BY HAND
6
- // See: https://github.com/robmllze/xyz_gen
5
+ // GENERATED - DO NOT MODIFY BY HAND
6
+ // See: https://github.com/robmllze/df_generate_screen
7
7
//
8
8
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
9
9
//.title~
Original file line number Diff line number Diff line change 2
2
//.title
3
3
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
4
4
//
5
- // GENERATED BY 🇽🇾🇿 GEN
6
- // See: https://github.com/robmllze/xyz_gen
5
+ // GENERATED - DO NOT MODIFY BY HAND
6
+ // See: https://github.com/robmllze/df_generate_screen
7
7
//
8
8
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
9
9
//.title~
Original file line number Diff line number Diff line change 2
2
//.title
3
3
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
4
4
//
5
- // GENERATED BY 🇽🇾🇿 GEN
6
- // See: https://github.com/robmllze/xyz_gen
5
+ // GENERATED - DO NOT MODIFY BY HAND
6
+ // See: https://github.com/robmllze/df_generate_screen
7
7
//
8
8
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
9
9
//.title~
Original file line number Diff line number Diff line change 2
2
//.title
3
3
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
4
4
//
5
- // GENERATED BY 🇽🇾🇿 GEN
6
- // See: https://github.com/robmllze/xyz_gen
5
+ // GENERATED - DO NOT MODIFY BY HAND
6
+ // See: https://github.com/robmllze/df_generate_screen
7
7
//
8
8
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
9
9
//.title~
Original file line number Diff line number Diff line change
1
+ //.title
2
+ // ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
3
+ //
4
+ // GENERATED BY 🇽🇾🇿 GEN
5
+ // See: https://github.com/robmllze/xyz_gen
6
+ //
7
+ // ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
8
+ //.title~
9
+
10
+ import 'package:df_screen/df_screen.dart';
11
+
12
+ part '../template/_bindings.g.dart';
13
+ part '../template/_controller.dart';
14
+ part '../template/_view.dart';
15
+
16
+ // ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
17
+
18
+ @GenerateScreenBindings(path: '.', defaultTitle: 'Title')
19
+ final class ScreenExample extends Screen {
20
+ //
21
+ //
22
+ //
23
+
24
+ const ScreenExample({
25
+ super.key,
26
+ super.configuration,
27
+ super.controllerCacheTimeout = Duration.zero,
28
+ });
29
+
30
+ //
31
+ //
32
+ //
33
+
34
+ @override
35
+ _View createState() => _View();
36
+
37
+ //
38
+ //
39
+ //
40
+
41
+ @override
42
+ ScreenExampleController createController(
43
+ Screen screen,
44
+ ScreenView state,
45
+ ) {
46
+ return ScreenExampleController(screen, state);
47
+ }
48
+ }
Original file line number Diff line number Diff line change
1
+
Original file line number Diff line number Diff line change
1
+
Original file line number Diff line number Diff line change
1
+
You can’t perform that action at this time.
0 commit comments