remove final
This commit is contained in:
@@ -119,8 +119,8 @@ class ChannelListCore extends StatefulWidget {
|
|||||||
|
|
||||||
/// The current state of the [ChannelListCore].
|
/// The current state of the [ChannelListCore].
|
||||||
class ChannelListCoreState extends State<ChannelListCore> {
|
class ChannelListCoreState extends State<ChannelListCore> {
|
||||||
late final ChannelsBlocState _channelsBloc;
|
late ChannelsBlocState _channelsBloc;
|
||||||
late final StreamChatCoreState _streamChatCoreState;
|
late StreamChatCoreState _streamChatCoreState;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) => _buildListView(_channelsBloc);
|
Widget build(BuildContext context) => _buildListView(_channelsBloc);
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class ChannelsBloc extends StatefulWidget {
|
|||||||
/// The current state of the [ChannelsBloc].
|
/// The current state of the [ChannelsBloc].
|
||||||
class ChannelsBlocState extends State<ChannelsBloc>
|
class ChannelsBlocState extends State<ChannelsBloc>
|
||||||
with AutomaticKeepAliveClientMixin {
|
with AutomaticKeepAliveClientMixin {
|
||||||
late final StreamChatCoreState _streamChatCoreState;
|
late StreamChatCoreState _streamChatCoreState;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class MessageListCore extends StatefulWidget {
|
|||||||
|
|
||||||
/// The current state of the [MessageListCore].
|
/// The current state of the [MessageListCore].
|
||||||
class MessageListCoreState extends State<MessageListCore> {
|
class MessageListCoreState extends State<MessageListCore> {
|
||||||
late final StreamChannelState _streamChannel;
|
late StreamChannelState _streamChannel;
|
||||||
|
|
||||||
bool get _upToDate => _streamChannel.channel.state?.isUpToDate ?? true;
|
bool get _upToDate => _streamChannel.channel.state?.isUpToDate ?? true;
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ class MessageSearchBloc extends StatefulWidget {
|
|||||||
/// The current state of the [MessageSearchBloc]
|
/// The current state of the [MessageSearchBloc]
|
||||||
class MessageSearchBlocState extends State<MessageSearchBloc>
|
class MessageSearchBlocState extends State<MessageSearchBloc>
|
||||||
with AutomaticKeepAliveClientMixin {
|
with AutomaticKeepAliveClientMixin {
|
||||||
late final StreamChatCoreState _streamChatCoreState;
|
late StreamChatCoreState _streamChatCoreState;
|
||||||
|
|
||||||
/// The current messages list
|
/// The current messages list
|
||||||
List<GetMessageResponse>? get messageResponses => _messageResponses.value;
|
List<GetMessageResponse>? get messageResponses => _messageResponses.value;
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ class MessageSearchListCore extends StatefulWidget {
|
|||||||
|
|
||||||
/// The current state of the [MessageSearchListCore].
|
/// The current state of the [MessageSearchListCore].
|
||||||
class MessageSearchListCoreState extends State<MessageSearchListCore> {
|
class MessageSearchListCoreState extends State<MessageSearchListCore> {
|
||||||
late final MessageSearchBlocState _messageSearchBloc;
|
late MessageSearchBlocState _messageSearchBloc;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void didChangeDependencies() {
|
void didChangeDependencies() {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ class UsersBlocState extends State<UsersBloc>
|
|||||||
/// The stream notifying the state of queryUsers call
|
/// The stream notifying the state of queryUsers call
|
||||||
Stream<bool> get queryUsersLoading => _queryUsersLoadingController.stream;
|
Stream<bool> get queryUsersLoading => _queryUsersLoadingController.stream;
|
||||||
|
|
||||||
late final StreamChatCoreState _streamChatCore;
|
late StreamChatCoreState _streamChatCore;
|
||||||
|
|
||||||
/// The Query Users method allows you to search for users and see if they are
|
/// The Query Users method allows you to search for users and see if they are
|
||||||
/// online/offline.
|
/// online/offline.
|
||||||
|
|||||||
Reference in New Issue
Block a user