fix format

This commit is contained in:
Salvatore Giordano
2022-05-16 14:54:59 +02:00
parent 2f9a35f3fa
commit f969b4a51d
13 changed files with 16 additions and 17 deletions
@@ -30,7 +30,7 @@ class StreamChannelListTile extends StatelessWidget {
this.contentPadding = const EdgeInsets.symmetric(horizontal: 8),
this.unreadIndicatorBuilder,
this.sendingIndicatorBuilder,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);
@@ -230,7 +230,7 @@ class ChannelLastMessageDate extends StatelessWidget {
super.key,
required this.channel,
this.textStyle,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);
@@ -282,7 +282,7 @@ class ChannelListTileSubtitle extends StatelessWidget {
super.key,
required this.channel,
this.textStyle,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);
@@ -325,7 +325,7 @@ class ChannelLastMessageText extends StatelessWidget {
super.key,
required this.channel,
this.textStyle,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);
@@ -17,7 +17,7 @@ class StreamScrollViewLoadMoreError extends StatelessWidget {
this.mainAxisSize = MainAxisSize.max,
this.mainAxisAlignment = MainAxisAlignment.spaceBetween,
this.crossAxisAlignment = CrossAxisAlignment.center,
}) : _isList = true;
}) : _isList = true;
/// Creates a new instance of [StreamScrollViewLoadMoreError.grid].
const StreamScrollViewLoadMoreError.grid({
@@ -31,7 +31,7 @@ class StreamScrollViewLoadMoreError extends StatelessWidget {
this.mainAxisSize = MainAxisSize.max,
this.mainAxisAlignment = MainAxisAlignment.spaceEvenly,
this.crossAxisAlignment = CrossAxisAlignment.center,
}) : _isList = false;
}) : _isList = false;
/// The error message to display.
final Widget? error;
@@ -55,7 +55,7 @@ class StreamChannelAvatar extends StatelessWidget {
this.selected = false,
this.selectionColor,
this.selectionThickness = 4,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);
@@ -20,7 +20,7 @@ class StreamChannelInfoBottomSheet extends StatelessWidget {
this.onLeaveChannelTap,
this.onDeleteConversationTap,
this.onCancelTap,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);
@@ -14,7 +14,7 @@ class StreamChannelName extends StatelessWidget {
required this.channel,
this.textStyle,
this.textOverflow = TextOverflow.ellipsis,
}) : assert(
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);