added deprecated annotation to ContextMenuItem old androidId and iosId properties

This commit is contained in:
Lorenzo Pichilli 2022-04-23 17:51:56 +02:00
parent 2a9391df41
commit 0e8bef4451

View File

@ -81,8 +81,8 @@ class ContextMenuItem {
ContextMenuItem(
{this.id,
this.androidId,
this.iosId,
@Deprecated("Use id instead") this.androidId,
@Deprecated("Use id instead") this.iosId,
required this.title,
this.action}) {
if (defaultTargetPlatform == TargetPlatform.android) {