Untitled
unknown
plain_text
a year ago
4.5 kB
11
Indexable
part of 'crush_feed_details_view.dart';
class CrushFeedDetailsViewState extends Equatable {
final List<CrushFeedModel> getCrushFeedList;
final CrushFeedModel? crushFeedModel;
final List<ActivityModel> activityList;
final List<PostShareModel> postShareList;
final ScrollController scrollController;
final GlobalKey key1;
final GlobalKey key2;
final List<PostShareModel> selectedIndexList;
final TextEditingController commentController;
final FocusNode focusNode;
final List<PostCommentModel> listComment;
final PostCommentModel? postCommentModel;
final ReplyListModel? replyListModel;
final bool isShowWidget;
final List<PostCommentModel> commentsList;
final String? fullName;
final int connectionPostId;
final String feedId;
final List<ReplyListModel> replyList;
final bool isViewMore;
final List<SocialMediaModel> socialShareList;
final List<ReportModel> reportList;
final int selectedReportIndex;
final String type;
const CrushFeedDetailsViewState({
this.getCrushFeedList = const [],
this.crushFeedModel,
this.activityList = const [],
this.postShareList = const [],
this.listComment = const [],
required this.scrollController,
required this.key1,
required this.key2,
required this.commentController,
this.postCommentModel,
this.replyListModel,
required this.focusNode,
this.selectedIndexList = const [],
this.isShowWidget = false,
required this.feedId,
this.replyList = const [],
this.commentsList = const [],
this.isViewMore = false,
this.fullName = "",
this.connectionPostId = 0,
this.socialShareList = const [],
this.reportList = const [],
this.selectedReportIndex = 0,
this.type = "",
});
@override
List<Object?> get props => [
getCrushFeedList,
activityList,
postShareList,
scrollController,
key2,
key1,
selectedIndexList,
commentController,
postCommentModel,
replyListModel,
focusNode,
listComment,
isShowWidget,
feedId,
crushFeedModel,
replyList,
isViewMore,
commentsList,
fullName,
connectionPostId,
socialShareList,
reportList,
selectedReportIndex,
type,
];
CrushFeedDetailsViewState copyWith({
List<CrushFeedModel>? getCrushFeedList,
CrushFeedModel? crushFeedModel,
List<ActivityModel>? activityList,
List<PostShareModel>? postShareList,
ScrollController? scrollController,
GlobalKey? key1,
GlobalKey? key2,
List<PostShareModel>? selectedIndexList,
TextEditingController? commentController,
FocusNode? focusNode,
List<PostCommentModel>? listComment,
PostCommentModel? postCommentModel,
ReplyListModel? replyListModel,
bool? isShowWidget,
List<PostCommentModel>? commentsList,
String? fullName,
int? connectionPostId,
String? feedId,
List<ReplyListModel>? replyList,
bool? isViewMore,
List<SocialMediaModel>? socialShareList,
List<ReportModel>? reportList,
int? selectedReportIndex,
String? type,
}) {
return CrushFeedDetailsViewState(
getCrushFeedList: getCrushFeedList ?? this.getCrushFeedList,
crushFeedModel: crushFeedModel ?? this.crushFeedModel,
activityList: activityList ?? this.activityList,
postShareList: postShareList ?? this.postShareList,
scrollController: scrollController ?? this.scrollController,
key1: key1 ?? this.key1,
key2: key2 ?? this.key2,
selectedIndexList: selectedIndexList ?? this.selectedIndexList,
commentController: commentController ?? this.commentController,
focusNode: focusNode ?? this.focusNode,
listComment: listComment ?? this.listComment,
postCommentModel: postCommentModel ?? this.postCommentModel,
replyListModel: replyListModel ?? this.replyListModel,
isShowWidget: isShowWidget ?? this.isShowWidget,
commentsList: commentsList ?? this.commentsList,
fullName: fullName ?? this.fullName,
connectionPostId: connectionPostId ?? this.connectionPostId,
feedId: feedId ?? this.feedId,
replyList: replyList ?? this.replyList,
isViewMore: isViewMore ?? this.isViewMore,
socialShareList: socialShareList ?? this.socialShareList,
reportList: reportList ?? this.reportList,
selectedReportIndex: selectedReportIndex ?? this.selectedReportIndex,
type: type ?? this.type,
);
}
}
Editor is loading...
Leave a Comment