refactor(ui): minor doc changes

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-12-08 17:55:55 +05:30
committed by xsahil03x
parent c301b51c83
commit 51e7c873cb
2 changed files with 4 additions and 1 deletions
@@ -200,6 +200,9 @@ class StreamChannelListController extends PagedValueNotifier<int, Channel> {
/// Event listener, which can be set in order to listen
/// [client] web-socket events.
///
/// Return `true` if the event is handled. Return `false` to
/// allow the event to be handled internally.
bool Function(Event event)? eventListener;
StreamSubscription<Event>? _channelEventSubscription;
@@ -67,7 +67,7 @@ class StreamChannelListTile extends StatelessWidget {
final GestureLongPressCallback? onLongPress;
/// {@template flutter.material.ListTile.tileColor}
/// Defines the background color of `ListTile` when [selected] is false.
/// Defines the background color of `ListTile`.
///
/// When the value is null, the `tileColor` is set to [ListTileTheme.tileColor]
/// if it's not null and to [Colors.transparent] if it's null.