TF-4233 Handle edit label on mobile

This commit is contained in:
dab246
2026-01-05 17:00:28 +07:00
committed by Dat H. Pham
parent bac101021e
commit ac33424c30
8 changed files with 131 additions and 8 deletions
@@ -2,6 +2,8 @@ import 'package:flutter/material.dart';
import 'package:labels/labels.dart';
import 'package:tmail_ui_user/features/labels/presentation/models/label_action_type.dart';
typedef OnOpenLabelCallback = void Function(Label label);
typedef OnOpenLabelContextMenuAction = Future<void> Function(
Label label,
RelativeRect position,
@@ -11,3 +13,5 @@ typedef OnLabelActionTypeCallback = void Function(
Label label,
LabelActionType actionType,
);
typedef OnLongPressLabelItemAction = void Function(Label label);