1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-09-19 13:58:50 +00:00

Fix a few notices

This commit is contained in:
2022-03-11 17:02:06 +01:00
parent f0f7096c94
commit 0f9a59b4a7
27 changed files with 45 additions and 97 deletions

View File

@@ -180,9 +180,7 @@ class DataConservationPolicyTile extends SettingsTile {
required this.title,
required this.onChange,
required this.minValue,
}) : assert(title != null),
assert(onChange != null),
assert(minValue != null);
});
@override
Widget build(BuildContext context) {

View File

@@ -140,8 +140,7 @@ class _SecurityQuestionsDialog extends StatefulWidget {
final SecuritySettings settings;
const _SecurityQuestionsDialog({Key? key, required this.settings})
: assert(settings != null),
super(key: key);
: super(key: key);
@override
__SecurityQuestionsDialogState createState() =>

View File

@@ -31,10 +31,7 @@ class _SettingsSection {
required this.subtitle,
required this.icon,
required this.onBuild,
}) : assert(title != null),
assert(subtitle != null),
assert(icon != null),
assert(onBuild != null);
});
}
class AccountSettingsRoute extends StatelessWidget {