]> gitweb.hamatoma.de Git - exhibition.git/commitdiff
Refactoring: removing warnings
authorHamatoma <author.hamatoma.de>
Sun, 30 Jan 2022 15:46:11 +0000 (16:46 +0100)
committerHamatoma <author.hamatoma.de>
Sun, 30 Jan 2022 15:46:11 +0000 (16:46 +0100)
* Refactoring:
** "empty" method onInitialized() commented out
** using annotation no_logic_in_create_state

lib/meta/benchmarks_meta.dart
lib/meta/roles_meta.dart
lib/meta/scopes_meta.dart
lib/meta/starters_meta.dart
lib/meta/users_meta.dart
metatool/bin/page_generator.dart

index b2d2ee74311614b0246e11bafb8a6aeb1316d9a3..c30ffd654b3e905f0d6a685145e8aab52ee45cef 100644 (file)
@@ -73,8 +73,8 @@ class BenchmarksMeta extends ModuleMetaData {
             orderBy: 'benchmark_id',
           ),
         ]);
-  @override
-  void onInitialized() {
-    super.onInitialized();
-  }
+  // @override
+  // void onInitialized() {
+  //   super.onInitialized();
+  // }
 }
index e3f1eaf164c2db03cc05b8280267d5f3fb932226..4a20cb4adcff808e8ac736d290e2ea81365253a4 100644 (file)
@@ -49,8 +49,8 @@ class RolesMeta extends ModuleMetaData {
               ),
             ],
             needsSqlAll: true);
-  @override
-  void onInitialized() {
-    super.onInitialized();
-  }
+  // @override
+  // void onInitialized() {
+  //   super.onInitialized();
+  // }
 }
index 22d2697f271d34a7ecc480d93c4f71a5372a8e0c..770aa31e143fe61914fffb5eb1151ed4b24414ee 100644 (file)
@@ -57,8 +57,8 @@ class ScopesMeta extends ModuleMetaData {
             tableHeaders: i18n.tr(';Id;Scope;Name;Value;Position'),
           ),
         ]);
-  @override
-  void onInitialized() {
-    super.onInitialized();
-  }
+  // @override
+  // void onInitialized() {
+  //   super.onInitialized();
+  // }
 }
index 8da2dc7cdfd506898e45c2f849fa962f51149cab..f1b084b9ef68c02920e6881516daae7ed14c3420 100644 (file)
@@ -58,8 +58,8 @@ class StartersMeta extends ModuleMetaData {
               ),
             ],
             needsSqlAll: true);
-  @override
-  void onInitialized() {
-    super.onInitialized();
-  }
+  // @override
+  // void onInitialized() {
+  //   super.onInitialized();
+  // }
 }
index db02cd4d1761a3cfdd8b09f59905f80befc9010b..d75842498ac53fe118291e78c66f31d194ca8eda 100644 (file)
@@ -80,8 +80,8 @@ class UsersMeta extends ModuleMetaData {
             orderBy: 'user_id',
           ),
         ]);
-  @override
-  void onInitialized() {
-    super.onInitialized();
-  }
+  // @override
+  // void onInitialized() {
+  //   super.onInitialized();
+  // }
 }
index 0abbf15c9a61450c9945de4ca345bfa4857eaf2b..78aae9073581fbd53129ed30223a9971722fb2d5 100644 (file)
@@ -46,6 +46,7 @@ class EditUserPage extends StatefulWidget {
 DEF_PRIMARY  final PageStates pageStates = PageStates();
   EditUserPage(THIS_PRIMARY_COMMA{Key? key}) : super(key: key);
   @override
+  // ignore: no_logic_in_create_state
   _EditUserPageState createState() {
     final rc = _EditUserPageState(VAL_PRIMARY);
     rc.attendedPage = AttendedPage(