We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8983a commit 6d03513Copy full SHA for 6d03513
lib/samples/impl/get_controller.dart
@@ -20,10 +20,14 @@ class ${_fileName.pascalCase}Controller extends GetxController {
20
21
22
@override
23
- void onInit() {}
+ void onInit() {
24
+ super.onInit();
25
+ }
26
27
- void onReady() {}
28
+ void onReady() {
29
+ super.onReady();
30
31
32
33
void onClose() {}
@@ -37,9 +41,13 @@ class ${_fileName.pascalCase}Controller extends GetxController {
37
41
38
42
final count = 0.obs;
39
43
40
44
45
46
47
48
49
50
51
52
53
void increment() => count.value++;
0 commit comments