remove @tool annotation
This commit is contained in:
@@ -11,7 +11,6 @@ import 'stream_chat_core.dart';
|
|||||||
/// [ChannelListCore] is a simplified class that allows fetching a list of channels while exposing UI builders.
|
/// [ChannelListCore] is a simplified class that allows fetching a list of channels while exposing UI builders.
|
||||||
/// A [ChannelListController] is used to reload and paginate data.
|
/// A [ChannelListController] is used to reload and paginate data.
|
||||||
///
|
///
|
||||||
/// {@tool snippet}
|
|
||||||
///
|
///
|
||||||
/// ```dart
|
/// ```dart
|
||||||
/// class ChannelListPage extends StatelessWidget {
|
/// class ChannelListPage extends StatelessWidget {
|
||||||
@@ -51,7 +50,6 @@ import 'stream_chat_core.dart';
|
|||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
/// {@end-tool}
|
|
||||||
///
|
///
|
||||||
/// Make sure to have a [StreamChatCore] ancestor in order to provide the information about the channels.
|
/// Make sure to have a [StreamChatCore] ancestor in order to provide the information about the channels.
|
||||||
class ChannelListCore extends StatefulWidget {
|
class ChannelListCore extends StatefulWidget {
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ import 'message_search_bloc.dart';
|
|||||||
/// [MessageSearchListCore] is a simplified class that allows searching for messages across channels while exposing UI builders.
|
/// [MessageSearchListCore] is a simplified class that allows searching for messages across channels while exposing UI builders.
|
||||||
/// A [MessageSearchListController] is used to load and paginate data.
|
/// A [MessageSearchListController] is used to load and paginate data.
|
||||||
///
|
///
|
||||||
/// {@tool snippet}
|
|
||||||
///
|
|
||||||
/// ```dart
|
/// ```dart
|
||||||
/// class MessageSearchPage extends StatelessWidget {
|
/// class MessageSearchPage extends StatelessWidget {
|
||||||
/// @override
|
/// @override
|
||||||
@@ -28,7 +26,6 @@ import 'message_search_bloc.dart';
|
|||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
/// {@end-tool}
|
|
||||||
///
|
///
|
||||||
/// Make sure to have a [MessageSearchBloc] ancestor in order to provide the information about the messages.
|
/// Make sure to have a [MessageSearchBloc] ancestor in order to provide the information about the messages.
|
||||||
/// The widget uses a [ListView.separated] to render the list of messages.
|
/// The widget uses a [ListView.separated] to render the list of messages.
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ import 'package:stream_chat/stream_chat.dart';
|
|||||||
///
|
///
|
||||||
/// Conversely, when app is resumed or restarted, a new connection is initiated.
|
/// Conversely, when app is resumed or restarted, a new connection is initiated.
|
||||||
///
|
///
|
||||||
/// {@tool snippet}
|
|
||||||
///
|
|
||||||
/// ```dart
|
/// ```dart
|
||||||
/// class MyApp extends StatelessWidget {
|
/// class MyApp extends StatelessWidget {
|
||||||
/// final Client client;
|
/// final Client client;
|
||||||
@@ -32,7 +30,6 @@ import 'package:stream_chat/stream_chat.dart';
|
|||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
/// {@end-tool}
|
|
||||||
///
|
///
|
||||||
class StreamChatCore extends StatefulWidget {
|
class StreamChatCore extends StatefulWidget {
|
||||||
/// Instance of Stream Chat Client containing information about the current
|
/// Instance of Stream Chat Client containing information about the current
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ import 'package:stream_chat_flutter_core/src/users_bloc.dart';
|
|||||||
/// [UserListCore] is a simplified class that allows fetching users while exposing UI builders.
|
/// [UserListCore] is a simplified class that allows fetching users while exposing UI builders.
|
||||||
/// A [UserListController] is used to load and paginate data.
|
/// A [UserListController] is used to load and paginate data.
|
||||||
///
|
///
|
||||||
/// {@tool snippet}
|
|
||||||
///
|
|
||||||
/// ```dart
|
/// ```dart
|
||||||
/// class UsersListPage extends StatelessWidget {
|
/// class UsersListPage extends StatelessWidget {
|
||||||
/// @override
|
/// @override
|
||||||
@@ -48,7 +46,6 @@ import 'package:stream_chat_flutter_core/src/users_bloc.dart';
|
|||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
/// {@end-tool}
|
|
||||||
///
|
///
|
||||||
/// [UsersBloc] must be the ancestor of this widget. This is necessary since
|
/// [UsersBloc] must be the ancestor of this widget. This is necessary since
|
||||||
/// [UserListCore] depends on functionality contained within [UsersBloc].
|
/// [UserListCore] depends on functionality contained within [UsersBloc].
|
||||||
|
|||||||
Reference in New Issue
Block a user