]> gitweb.hamatoma.de Git - exhibition.git/commit
Refactoring: removing warnings
authorHamatoma <author.hamatoma.de>
Sun, 30 Jan 2022 13:14:34 +0000 (14:14 +0100)
committerHamatoma <author.hamatoma.de>
Sun, 30 Jan 2022 13:16:03 +0000 (14:16 +0100)
commitccb9d71fac8b9ba8fe721b3f47902b9f5feeefdf
tree669df0d07997308a8d325a9d3ff17251f47b541d
parent0491213a7a75fafaeca8dc2a600274a9933e423a
Refactoring: removing warnings

* Refactoring:
** using const for constructors
** avoiding this for class members
** fix: avoiding "orElse: null"
** in constructor parameter list: using { ... this.attribute = default }
** avoiding "var variable;"
** preferring const instead of final
51 files changed:
lib/base/helper.dart
lib/base/i18n.dart
lib/meta/module_meta_data.dart
lib/meta/modules.dart
lib/page/benchmarks/benchmark_data.dart
lib/page/benchmarks/create_benchmark_page.dart
lib/page/benchmarks/delete_benchmark_page.dart
lib/page/benchmarks/edit_benchmark_page.dart
lib/page/benchmarks/list_benchmark_page.dart
lib/page/roles/create_role_page.dart
lib/page/roles/edit_role_page.dart
lib/page/roles/list_role_page.dart
lib/page/roles/role_data.dart
lib/page/rolestarter/list_rolestarter_page.dart
lib/page/rolestarter/mapping_rolestarter_page.dart
lib/page/rolestarter/role_starter_data.dart
lib/page/scopes/create_scope_page.dart
lib/page/scopes/delete_scope_page.dart
lib/page/scopes/edit_scope_page.dart
lib/page/scopes/list_scope_page.dart
lib/page/scopes/scope_data.dart
lib/page/starters/create_starter_page.dart
lib/page/starters/delete_starter_page.dart
lib/page/starters/edit_starter_page.dart
lib/page/starters/list_starter_page.dart
lib/page/starters/starter_data.dart
lib/page/users/create_user_page.dart
lib/page/users/delete_user_page.dart
lib/page/users/edit_user_page.dart
lib/page/users/list_user_page.dart
lib/page/users/user_data.dart
lib/persistence/data_table.dart
lib/persistence/file_persistence.dart
lib/setting/drawer_exhibition.dart
lib/setting/footer_exhibition.dart
lib/setting/global_data.dart
lib/setting/installation.dart
lib/setting/structure.dart
lib/widget/attended_page.dart
lib/widget/attended_stateful.dart
lib/widget/date_time_form_field.dart
lib/widget/message_line.dart
lib/widget/widget_form.dart
metatool/bin/generator.dart
metatool/bin/meta_tool.dart
metatool/bin/page_generator.dart
metatool/bin/sql_generator.dart
metatool/pubspec.yaml
rest_server/data/sql/scopes.sql.yaml [new file with mode: 0644]
rest_server/data/sql/users.sql.yaml
rest_server/lib/rest_server.dart