From: Hamatoma Date: Sun, 30 Jan 2022 15:46:11 +0000 (+0100) Subject: Refactoring: removing warnings X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=101d851aea3535338f4f6949c6efb9db048fcc7f;p=exhibition.git Refactoring: removing warnings * Refactoring: ** "empty" method onInitialized() commented out ** using annotation no_logic_in_create_state --- diff --git a/lib/meta/benchmarks_meta.dart b/lib/meta/benchmarks_meta.dart index b2d2ee7..c30ffd6 100644 --- a/lib/meta/benchmarks_meta.dart +++ b/lib/meta/benchmarks_meta.dart @@ -73,8 +73,8 @@ class BenchmarksMeta extends ModuleMetaData { orderBy: 'benchmark_id', ), ]); - @override - void onInitialized() { - super.onInitialized(); - } + // @override + // void onInitialized() { + // super.onInitialized(); + // } } diff --git a/lib/meta/roles_meta.dart b/lib/meta/roles_meta.dart index e3f1eaf..4a20cb4 100644 --- a/lib/meta/roles_meta.dart +++ b/lib/meta/roles_meta.dart @@ -49,8 +49,8 @@ class RolesMeta extends ModuleMetaData { ), ], needsSqlAll: true); - @override - void onInitialized() { - super.onInitialized(); - } + // @override + // void onInitialized() { + // super.onInitialized(); + // } } diff --git a/lib/meta/scopes_meta.dart b/lib/meta/scopes_meta.dart index 22d2697..770aa31 100644 --- a/lib/meta/scopes_meta.dart +++ b/lib/meta/scopes_meta.dart @@ -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(); + // } } diff --git a/lib/meta/starters_meta.dart b/lib/meta/starters_meta.dart index 8da2dc7..f1b084b 100644 --- a/lib/meta/starters_meta.dart +++ b/lib/meta/starters_meta.dart @@ -58,8 +58,8 @@ class StartersMeta extends ModuleMetaData { ), ], needsSqlAll: true); - @override - void onInitialized() { - super.onInitialized(); - } + // @override + // void onInitialized() { + // super.onInitialized(); + // } } diff --git a/lib/meta/users_meta.dart b/lib/meta/users_meta.dart index db02cd4..d758424 100644 --- a/lib/meta/users_meta.dart +++ b/lib/meta/users_meta.dart @@ -80,8 +80,8 @@ class UsersMeta extends ModuleMetaData { orderBy: 'user_id', ), ]); - @override - void onInitialized() { - super.onInitialized(); - } + // @override + // void onInitialized() { + // super.onInitialized(); + // } } diff --git a/metatool/bin/page_generator.dart b/metatool/bin/page_generator.dart index 0abbf15..78aae90 100644 --- a/metatool/bin/page_generator.dart +++ b/metatool/bin/page_generator.dart @@ -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(