fix analysis

This commit is contained in:
Salvatore Giordano
2022-03-07 10:55:36 +01:00
parent 0a0cde4bb5
commit 43d50a6b94
3 changed files with 4 additions and 1 deletions
@@ -94,7 +94,7 @@ class ChannelHeader extends StatelessWidget implements PreferredSizeWidget {
/// Subtitle widget
final Widget? subtitle;
// Whether the title should be centered
/// Whether the title should be centered
final bool? centerTitle;
/// Leading widget
@@ -529,6 +529,7 @@ class _MessageListViewState extends State<MessageListView> {
return ((index + 2) * 2) - 1;
}
}
return null;
},
// Item Count -> 8 (1 parent, 2 header+footer, 2 top+bottom, 3 messages)
@@ -74,6 +74,8 @@ GlobalStreamChatLocalizations? getStreamChatTranslation(Locale locale) {
return const StreamChatLocalizationsKo();
case 'pt':
return const StreamChatLocalizationsPt();
default:
return null;
}
}