chore(repo): add missed trailing commas
This commit is contained in:
@@ -233,10 +233,10 @@ class _MessageViewState extends State<MessageView> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,11 +64,12 @@ class MyApp extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
messageListViewTheme: const MessageListViewThemeData(
|
messageListViewTheme: const MessageListViewThemeData(
|
||||||
backgroundColor: Colors.grey,
|
backgroundColor: Colors.grey,
|
||||||
backgroundImage: DecorationImage(
|
backgroundImage: DecorationImage(
|
||||||
image: AssetImage('assets/background_doodle.png'),
|
image: AssetImage('assets/background_doodle.png'),
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
)),
|
),
|
||||||
|
),
|
||||||
otherMessageTheme: MessageThemeData(
|
otherMessageTheme: MessageThemeData(
|
||||||
messageBackgroundColor: colorTheme.textHighEmphasis,
|
messageBackgroundColor: colorTheme.textHighEmphasis,
|
||||||
messageTextStyle: TextStyle(
|
messageTextStyle: TextStyle(
|
||||||
|
|||||||
@@ -83,9 +83,12 @@ class HomeScreen extends StatelessWidget {
|
|||||||
channelListController: channelListController,
|
channelListController: channelListController,
|
||||||
filter: Filter.and([
|
filter: Filter.and([
|
||||||
Filter.equal('type', 'messaging'),
|
Filter.equal('type', 'messaging'),
|
||||||
Filter.in_('members', [
|
Filter.in_(
|
||||||
StreamChatCore.of(context).currentUser!.id,
|
'members',
|
||||||
])
|
[
|
||||||
|
StreamChatCore.of(context).currentUser!.id,
|
||||||
|
],
|
||||||
|
)
|
||||||
]),
|
]),
|
||||||
emptyBuilder: (BuildContext context) => const Center(
|
emptyBuilder: (BuildContext context) => const Center(
|
||||||
child: Text('Looks like you are not in any channels'),
|
child: Text('Looks like you are not in any channels'),
|
||||||
@@ -318,10 +321,10 @@ class _MessageScreenState extends State<MessageScreen> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -374,8 +374,10 @@ class NnStreamChatLocalizations extends GlobalStreamChatLocalizations {
|
|||||||
String get youText => 'You';
|
String get youText => 'You';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String galleryPaginationText(
|
String galleryPaginationText({
|
||||||
{required int currentPage, required int totalPages}) =>
|
required int currentPage,
|
||||||
|
required int totalPages,
|
||||||
|
}) =>
|
||||||
'$currentPage of $totalPages';
|
'$currentPage of $totalPages';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ class _MessageViewState extends State<MessageView> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user