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

Fix a few notices

This commit is contained in:
2022-03-11 16:40:56 +01:00
parent 45e8f34c81
commit adbc036c16
35 changed files with 73 additions and 159 deletions

View File

@ -29,7 +29,6 @@ class PresentationPane extends StatelessWidget {
this.onTapNext,
this.visible = true,
}) : assert(icon != null || iconWidget != null),
assert(title != null),
assert(text != null || child != null),
super(key: key);
@ -41,7 +40,9 @@ class PresentationPane extends StatelessWidget {
return Column(
children: <Widget>[
Spacer(flex: 3),
icon != null ? Icon(icon, color: Colors.white, size: 50) : iconWidget!,
icon != null
? Icon(icon, color: Colors.white, size: 50)
: iconWidget!,
Spacer(flex: 1),
Text(
title,