fix format
This commit is contained in:
+4
-4
@@ -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',
|
||||
);
|
||||
|
||||
+2
-2
@@ -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',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user