DeleteContextMenuButton constructor
- void onPressed()?,
Implementation
DeleteContextMenuButton({super.onPressed})
: super(
key: const Key('DeleteMessageButton'),
label: PlatformUtils.isMobile
? 'btn_delete'.l10n
: 'btn_delete_message'.l10n,
trailing: const SvgIcon(SvgIcons.delete19),
inverted: const SvgIcon(SvgIcons.delete19White),
);