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:
@ -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,
|
||||
|
Reference in New Issue
Block a user