1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-20 08:45:17 +00:00

Fix a few notices

This commit is contained in:
2022-03-11 16:41:29 +01:00
parent adbc036c16
commit f0f7096c94
6 changed files with 5 additions and 18 deletions

View File

@ -24,9 +24,7 @@ class ConversationImageWidget extends StatelessWidget {
this.group,
this.size = 30,
this.noUserImage,
}) : assert(conversation != null),
assert(users != null),
assert(size > 0),
}) : assert(size > 0),
super(key: key);
@override

View File

@ -10,9 +10,7 @@ class AppBarWrapper extends StatelessWidget implements PreferredSizeWidget {
final double height;
const AppBarWrapper({required this.height, required this.appBar})
: assert(height != null),
assert(appBar != null),
super();
: super();
@override
Widget build(BuildContext context) => appBar;