chore(core): remove stream_channel_list_loading_tile.dart
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
-96
@@ -1,96 +0,0 @@
|
||||
// import 'package:flutter/material.dart';
|
||||
// import 'package:shimmer/shimmer.dart';
|
||||
// import 'package:stream_chat_flutter/src/stream_chat_theme.dart';
|
||||
//
|
||||
// /// A shimmering list item which shows a loading effect.
|
||||
// ///
|
||||
// /// This is used by [StreamChannelListView] to show a loading effect while
|
||||
// /// the list is being loaded.
|
||||
// class StreamChannelListLoadingTile extends StatelessWidget {
|
||||
// /// Creates a new instance of [StreamChannelListLoadingTile] widget.
|
||||
// const StreamChannelListLoadingTile({
|
||||
// Key? key,
|
||||
// this.visualDensity = VisualDensity.standard,
|
||||
// this.contentPadding = const EdgeInsets.symmetric(horizontal: 8),
|
||||
// }) : super(key: key);
|
||||
//
|
||||
// /// Defines how compact the list tile's layout will be.
|
||||
// ///
|
||||
// /// {@macro flutter.material.themedata.visualDensity}
|
||||
// ///
|
||||
// /// See also:
|
||||
// ///
|
||||
// /// * [ThemeData.visualDensity], which specifies the [visualDensity] for all
|
||||
// /// widgets within a [Theme].
|
||||
// final VisualDensity visualDensity;
|
||||
//
|
||||
// /// The tile's internal padding.
|
||||
// ///
|
||||
// /// Insets a [ListTile]'s contents: its [leading], [errorTitle], [subtitle],
|
||||
// /// and [trailing] widgets.
|
||||
// ///
|
||||
// /// If null, `EdgeInsets.symmetric(horizontal: 16.0)` is used.
|
||||
// final EdgeInsetsGeometry contentPadding;
|
||||
//
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// final colorTheme = StreamChatTheme.of(context).colorTheme;
|
||||
//
|
||||
// final leading = Container(
|
||||
// height: 49,
|
||||
// width: 49,
|
||||
// decoration: BoxDecoration(
|
||||
// color: colorTheme.barsBg,
|
||||
// shape: BoxShape.circle,
|
||||
// ),
|
||||
// );
|
||||
//
|
||||
// final title = Container(
|
||||
// height: 16,
|
||||
// width: 66,
|
||||
// decoration: BoxDecoration(
|
||||
// color: colorTheme.barsBg,
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// );
|
||||
//
|
||||
// final subtitle = Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
// children: [
|
||||
// Expanded(
|
||||
// child: Align(
|
||||
// alignment: Alignment.centerLeft,
|
||||
// child: Container(
|
||||
// height: 16,
|
||||
// decoration: BoxDecoration(
|
||||
// color: colorTheme.barsBg,
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// const SizedBox(width: 8),
|
||||
// Container(
|
||||
// height: 16,
|
||||
// width: 50,
|
||||
// decoration: BoxDecoration(
|
||||
// color: colorTheme.barsBg,
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// );
|
||||
//
|
||||
// return Shimmer.fromColors(
|
||||
// baseColor: colorTheme.disabled,
|
||||
// highlightColor: colorTheme.inputBg,
|
||||
// child: ListTile(
|
||||
// leading: leading,
|
||||
// title: title,
|
||||
// subtitle: subtitle,
|
||||
// visualDensity: visualDensity,
|
||||
// contentPadding: contentPadding,
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
@@ -57,7 +57,6 @@ export 'src/v4/scroll_view/channel_scroll_view/stream_channel_grid_tile.dart';
|
||||
export 'src/v4/scroll_view/channel_scroll_view/stream_channel_grid_view.dart';
|
||||
|
||||
// v4
|
||||
export 'src/v4/scroll_view/channel_scroll_view/stream_channel_list_loading_tile.dart';
|
||||
export 'src/v4/scroll_view/channel_scroll_view/stream_channel_list_tile.dart';
|
||||
export 'src/v4/scroll_view/channel_scroll_view/stream_channel_list_view.dart';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user