forked from eatvio/eatvio_app
feat(chat): Layouts for chat select finished
This commit is contained in:
@@ -3,8 +3,8 @@ import 'package:eatvio_app/core/app_export.dart';
|
||||
/// This class is used in the [userprofile_item_widget] screen.
|
||||
// ignore_for_file: must_be_immutable
|
||||
|
||||
class UserprofileItemModel {
|
||||
UserprofileItemModel(
|
||||
class ChatItemModel {
|
||||
ChatItemModel(
|
||||
{this.userImage,
|
||||
this.username,
|
||||
this.dateText,
|
||||
|
||||
@@ -8,8 +8,8 @@ import 'package:eatvio_app/presentation/chat/chat_select_screen/models/chat_entr
|
||||
class ChatSelectModel extends Equatable {
|
||||
ChatSelectModel({this.userprofileItemList = const []});
|
||||
|
||||
List<UserprofileItemModel> userprofileItemList;
|
||||
ChatSelectModel copyWith({List<UserprofileItemModel>? userprofileItemList}) {
|
||||
List<ChatItemModel> userprofileItemList;
|
||||
ChatSelectModel copyWith({List<ChatItemModel>? userprofileItemList}) {
|
||||
return ChatSelectModel(
|
||||
userprofileItemList: userprofileItemList ?? this.userprofileItemList,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user