import 'package:core/presentation/resources/image_paths.dart';
import 'package:tmail_ui_user/features/base/model/popup_menu_item_action.dart';
import 'package:tmail_ui_user/features/thread/domain/model/filter_message_option.dart';
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';

class PopupMenuItemFilterMessageAction
    extends PopupMenuItemActionRequiredFull<FilterMessageOption> {
  final AppLocalizations appLocalizations;
  final ImagePaths imagePaths;

  PopupMenuItemFilterMessageAction(
    super.action,
    super.selectedAction,
    this.appLocalizations,
    this.imagePaths,
  );

  @override
  String get actionIcon => action.getContextMenuIcon(imagePaths);

  @override
  String get actionName => action.getName(appLocalizations);

  @override
  String get selectedIcon => imagePaths.icFilterSelected;
}
